1
0
mirror of synced 2024-11-25 14:26:03 +03:00
Commit Graph

2559 Commits

Author SHA1 Message Date
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
Pedro Felipe de Azevedo Furtado
165f945937
Update docs.md 2018-09-05 17:35:04 -03:00
Krzysztof Śmiałek
3b44ae2997 Add info about the new clear event (#3)
Related to pull request #5058 in `select2/select2`.
2018-09-05 17:27:59 -03:00
Jonathan Berger
8fc2e93fd9 Improve language for required properties (#13)
The existing language is a bit awkward. This change reads more cleanly, naturally, and accurately.
2018-09-05 17:25:21 -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
hartator
663a7d193d Make it clearer that "minimumInputLength" should be set as a Select2 option and not inside the AJAX hash. select2/select2#38 (#15) 2018-09-04 21:53:19 -03:00
Tom McLean
591e6a4855 Document dropdownCss and containerCss (#20)
It is not clear that these options expect objects. I tried a string for the entire style-attribute before searching through the sourcecode.
2018-06-02 00:27:17 -04:00
Emmanuel BALLERY
ce57141fe3 Fixed typo (#21)
The example data response for AJAX included the wrong key for pagination.
2018-06-02 00:24:36 -04: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
Kevin Brown
69098b179d
Merge pull request #14 from jonathanberger/patch-2
Better title and description
2018-03-24 21:09:39 -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
Jonathan Berger
83631cd87b
Better title and description
This isn't really an "API". Rather it's a list of options. I've changed the title and description to match this.
2018-01-21 21:09:07 -08:00
Jimmie Lin
26c8b9fa07
Fix minor spelling error in events page 2017-12-14 18:39:54 +08:00
alexweissman
61ba192a3a update Select2 version 2017-12-07 21:15:57 -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
944dfd87d3 Merge branch 'patch-1' of https://github.com/zomberg/docs into develop 2017-11-18 19:05:25 -05:00
alexweissman
33f5500adf update CDN version in installation instructions 2017-11-18 18:55:21 -05:00
Slava Pavlov
ee6bb70131
Added missed commas 2017-11-11 14:10:01 +03: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
71b74d9d38 update jsbin template 2017-11-04 20:42:39 -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