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

481 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
mlpo
e67c9aa34d Add missing diacritics to diacritics.js (#4118) 2018-09-05 14:31:46 -03:00
Tim Graham
ec7c57c288 Fix typos in comments (#5336) 2018-09-04 22:11:36 -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
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
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
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
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
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
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
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
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
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
shivamgupta001
1cf42cf6a8 on clear cleared tooltip too when placeholder present 2017-10-25 23:12:35 -04:00
shivamgupta001
e2c654b0ec on clear cleared tooltip too when placeholder present 2017-10-25 23:12:20 -04:00
alexweissman
ef2ef8b685 Fix keyboard not closing when closing dropdown on iOS 10 (#4680) 2017-10-25 22:45:29 -04:00
alexweissman
7d41ea153e Merge branch 'hotfix' into develop and bump for 4.0.6-rc.0 2017-10-25 18:37:05 -04:00
alexweissman
633e707424 Merge branch 'patch-1' of https://github.com/frkami123/select2 into hotfix 2017-10-25 18:04:57 -04:00
alexweissman
2a21adeb2e Merge branch 'patch-2' of https://github.com/ettiennelouw/select2 into hotfix 2017-10-25 17:59:11 -04:00
alexweissman
a3952c7302 Replace autocapitalize=off with autocapitalize=none (#4994) 2017-10-25 17:52:35 -04:00
alexweissman
65f85c3109 Merge branch 'master' of https://github.com/mnrafg/select2 into hotfix 2017-10-25 17:46:47 -04:00
alexweissman
58d9836b7d minor formatting fixes for #5093 2017-10-25 16:55:40 -04:00
Julian Yuste
b11d6e20b0 Fix for issue #4632 2017-10-25 18:25:50 +02:00
Kou Tsuneka
7c13ecc795 remove a unnecessary quote marks 2017-09-27 03:29:16 +07:00
alexweissman
c1e62b7db7 Czech: Add missing commas and periods (#5052) 2017-09-25 20:35:37 -04:00
alexweissman
0cc279ac75 Merge #4817 2017-09-25 20:33:40 -04:00
Ettienne Louw
671a87c764 Fixed Syntax Error
Based this on on ca.js file
2017-09-25 20:28:57 +02:00
Ivan Kvasnica
398870d982 Add missing commas and periods 2017-09-25 10:30:23 +02:00
alexweissman
3561810a64 Fix line lengths to keep Travis happy 2017-09-24 21:43:57 -04:00
alexweissman
ed24c34028 Fixes French translation (see #4988) 2017-09-24 21:38:04 -04:00
alexweissman
389aa1ab97 Add Bosnian (bs) 2017-09-24 16:42:12 -04:00
alexweissman
1afea17194 Fixed Norwegian inputTooShort message (#4896) 2017-09-24 16:28:47 -04:00
alexweissman
bdc70c80a0 Updated sk.js localisation (#4915) 2017-09-24 16:27:10 -04:00
alexweissman
9f55c376d2 Merge branch 'master' of https://github.com/milupo/select2 into hotfix 2017-09-24 16:23:30 -04:00