1
0
mirror of synced 2024-11-24 22:06:07 +03:00
Commit Graph

2429 Commits

Author SHA1 Message Date
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
alexweissman
09688ff6d2 Clear tooltip from select2-selection__rendered when selection is cleared (#4746) 2017-10-25 23:12:58 -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
ebf10c93db compile+minify for 4.0.5 release 2017-10-25 18:08:18 -04:00
alexweissman
a0df1e86dd update changelog 2017-10-25 18:06:12 -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
46ed8ae3ae bump version to 4.0.5 2017-10-25 17:46:02 -04:00
alexweissman
58d9836b7d minor formatting fixes for #5093 2017-10-25 16:55:40 -04:00
alexweissman
dac0433e2f bump for 4.0.5-rc.0 2017-10-25 16:55:19 -04:00