1
0
mirror of synced 2024-11-25 06:16:08 +03:00
Commit Graph

2393 Commits

Author SHA1 Message Date
Eliyas Hossain
e15046e959 Add Bangla (bn) localization (#5248) 2018-09-07 10:48:32 -03:00
Bowei Han
2b049c08ab Add scrollAfterSelect as a configurable option for multiselect dropdowns to allow toggling of highlightFirstItem() behaviour (#5150)
* Add scrollOnSelect as a configurable option

* default scrollOnSelect to true to avoid modifying existing behaviour

* added tests and default option for scrollAfterSelect
2018-09-05 17:36:20 -03:00
mlpo
e67c9aa34d Add missing diacritics to diacritics.js (#4118) 2018-09-05 14:31:46 -03:00
Alfredo Barron
2c613555ec Add integration in Angularjs (#4331) 2018-09-05 14:29:52 -03:00
Michael J Erwin
7c50570624 fix typo in comment in attachBody.js (#5182) 2018-09-05 14:27:11 -03:00
Pedro Felipe de Azevedo Furtado
60ee4a1179
Revert "Fix pluralization (#5307)" (#5354)
This reverts commit 5968dccc4c.
2018-09-04 22:14:22 -03:00
Albin
5968dccc4c Fix pluralization (#5307)
The test return always 's' in translations : inputTooLong, inputTooShort, maximumSelected
2018-09-04 22:13:50 -03:00
Tim Graham
ec7c57c288 Fix typos in comments (#5336) 2018-09-04 22:11:36 -03:00
Christian Fritsch
9e613ff22e Add drupal plugin (#5349) 2018-09-04 22:09:39 -03:00
Samundra Shrestha
d1a57156f7 Add Nepali (ne) localization (#5295)
* Add Nepali (np) localization

* rename np.js to ne.js

Closes #5294
2018-05-24 23:01:22 -04:00
Avtandil Kikabidze
3fb9e4fceb Add georgian (ka) localization (#5179)
* Add georgian (ka) localization

* Fix jshint warning

* Minor fix
2018-02-11 16:36:11 -05:00
ebejko
4346273721 Add Albanian localization (#5199)
* Add Albanian localization

* Fix travis error

* Rename al.js to sq.js
2018-02-11 16:31:24 -05:00
alexweissman
c90adc102b update changelog and compile+minify for 4.0.6-rc.1 2017-11-21 23:16:57 -05:00
rodrigo.perez
34e8b695f0 Fix up arrow error when there is no options 2017-11-21 20:38:03 -05:00
N'Bayramberdiyev
0087114474 Create tk.js 2017-11-21 20:36:26 -05:00
razh
eeba16b9c4 Remove duplicate CSS selector in classic theme
Closes #5100
2017-11-21 20:33:18 -05:00
tchiotludo
0ad18a00b8 Fix french locale 2017-11-21 19:51:39 -05:00
Nadeem Afana
6d0ecbc912 Exposes select2 instance via .data('select2') 2017-11-21 10:34:09 -05:00
alexweissman
5424333425 Merge branch 'hotfix' into develop 2017-11-04 20:49:12 -04:00
alexweissman
e02b34ba0f update jsbin links 2017-11-04 20:48:55 -04:00
alexweissman
14f53e7e41 Fix IE11 issue with select losing focus after selecting an item (#4860) 2017-10-27 12:41:34 -04:00
Tore Olav Kristiansen
bca6a50331 Fixed unit test issue and typo in Norwegian translation 2017-10-27 12:39:31 -04:00
ToreOlavKristiansen
45ee7340e5 Fixed Chrome issue: lost focus after selecting a value 2017-10-27 12:39:22 -04:00
ToreOlavKristiansen
6eee443d67 Fixes IE11 issue with select loosing focus having selected an item. 2017-10-27 12:39:10 -04:00
alexweissman
d9b8624682 bump for 4.0.6-rc.1 2017-10-26 18:22:26 -04:00
alexweissman
a48382e44d compile+minify for 4.0.6-rc.0 2017-10-26 14:19:09 -04:00
alexweissman
1864a3d538 Cache objects in Utils.__cache instead of using $.data (#4346) 2017-10-26 14:12:50 -04:00
alexweissman
62c4f6332b Merge branch 'master' of https://github.com/NadeemAfana/select2 into develop 2017-10-26 14:03:02 -04:00
alexweissman
77acc56a1e fix line length to keep jslint happy 2017-10-26 13:48:29 -04:00
alexweissman
16391c3f58 how the heck did they get a tab in there? 2017-10-26 13:38:07 -04:00
alexweissman
20429201c8 Removing the double event binding registration of "selection:update" within SingleSelection.prototype to prevent multiple calls on the selection event (#4306) 2017-10-26 13:35:58 -04:00
alexweissman
05208f9775 Improve .select2-hidden-accessible (#4908) 2017-10-26 13:25:58 -04:00
Gaël Poupard
7ca986701a Improving .select2-hidden-accessible
To match last standards, see [CSS hide and seek](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/) for more explanations :)

Also I removed the negative margin because of unwanted effects in some case, as seen on Bootstrap.
2017-10-26 13:24:48 -04:00
alexweissman
254d3ba422 Add role and aria-readonly attributes to single selection dropdown value (#4881) 2017-10-26 13:22:54 -04:00
Michal Kleiner
01d881c8ae Move role and aria-readonly attributes from render function to bind function 2017-10-26 13:21:57 -04:00
Michal Kleiner
e1cda22475 Add role and aria-readonly attributes to single selection dropdown selected value 2017-10-26 13:21:57 -04:00
alexweissman
edf1ba17cb perform deep merge for Defaults.set() (#4364) 2017-10-26 13:18:46 -04:00
nobodyman
2270afa6c7 more typos 2017-10-26 13:17:26 -04:00
nobodyman
6d35b1931b fixing typos in test 2017-10-26 13:17:26 -04:00
nobodyman
8398788069 perform deep merge for Defaults.set() 2017-10-26 13:17:26 -04:00
Tim Kang
6ff10680a6 Use attr instead of prop for select2-selection__rendered title (#4640)
See #3895, and jQuery docs on `attr`:

> As of jQuery 1.6, the .prop() method provides a way to explicitly retrieve property values, while .attr() retrieves attributes.
2017-10-26 13:06:23 -04:00
Tim Kang
a395ad1d75 Add failing tests
See #3895
2017-10-26 12:59:04 -04:00
alexweissman
3d8864bcfa Fix "the results could not be loaded" displaying during AJAX request (#4356) 2017-10-26 00:38:26 -04:00
Michael Mackus
cd08d805a4 Check for string value 2017-10-26 00:36:45 -04:00
MichaelMackus
c56c20cff0 Fix AJAX data source error
Fixes #4355

Verified in Firefox & Chromium
2017-10-26 00:36:31 -04:00
alexweissman
50bf3cdd59 Implement clear and clearing events (#5058) 2017-10-26 00:31:25 -04:00
Krzysztof Śmiałek
04d3a5da66 Add dedicated event for clearing
Closes #4929, #5045.
2017-10-26 00:30:31 -04:00
Krzysztof Śmiałek
10bda78b37 Fix value not being cleared when unselect event is emitted
Fixes #5049.
2017-10-26 00:30:24 -04:00
Jevon Wright
43ffaea244 Add style property to package.json (#5019)
By adding a reference to the main dist CSS, gulp tools such as `sass-module-importer` can automatically import the stylesheet
2017-10-26 00:27:34 -04:00
alexweissman
18929d6e5a Add ; before beginning of factory wrapper (#5089)
Adding ending statement at the start of the code as absence of that causes console error while concatenating files.
2017-10-25 23:17:05 -04:00