Igor Vaynberg
|
de0d11a82b
position the dropdown after hiding selected elements so when above it doesnt float away from the control
|
13 years ago |
Igor Vaynberg
|
39aa17a790
fixed above/below dropdown opening bug
|
13 years ago |
Igor Vaynberg
|
3a830a2b81
make the option element available to the matcher function when attached to select. can be used to match on option attributes as well as option text. fixes #227
|
13 years ago |
Igor Vaynberg
|
b731545eea
Merge pull request #223 from malekpour/master
|
13 years ago |
Igor Vaynberg
|
33e8e20159
optimize global mousemove listener
|
13 years ago |
Igor Vaynberg
|
0aea42fe42
give the sizer a higher offset just in case its on a highres screen
|
13 years ago |
Igor Vaynberg
|
7947803df4
delay finding the body until it is needed and cache it.
|
13 years ago |
Ali Malrkpour
|
01faae3ff7
fix updateResults prevention if dropdown is closed
|
13 years ago |
Igor Vaynberg
|
3ed2cc091a
fixed dropdown alignment in firefox. still need to test IE. #214
|
13 years ago |
Igor Vaynberg
|
69758f0b71
added a little animation for removed multiselect choices
|
13 years ago |
Igor Vaynberg
|
0c4888c6ef
expose plugin defaults to make configuration easier. fixes #199
|
13 years ago |
Igor Vaynberg
|
c17336d1ac
rename tagSeparator to separator. #191
|
13 years ago |
Grzegorz Kaczan
|
5aae33d789
Add the ability to specify custom tags separator.
|
13 years ago |
Igor Vaynberg
|
4489ab7769
clean up some comments
|
13 years ago |
Ali Malrkpour
|
a3383141d5
fix body element caching for non attached elements
|
13 years ago |
Igor Vaynberg
|
d6f506e16b
more flexible format helpers. fixes #217
|
13 years ago |
Igor Vaynberg
|
1605a631e5
reworked how dropdown is managed in singleselect so the search field has focus even when the dropdown is not opened and can capture te first keypress. fixes #196
|
13 years ago |
Igor Vaynberg
|
06ec20dec6
improve keyup-change detection
|
13 years ago |
Igor Vaynberg
|
6f973d6e40
formatSelection() can now return html string, dom, or jquery object in both multi and single select. #188
|
13 years ago |
Mitko Tschimev
|
1a4b523871
-add possibility to return a jQuery object with formatSelection -the close event of the selection is now delegated to the class 'select2-search-choice-close' and not only the a tag
|
13 years ago |
Igor Vaynberg
|
5a73385474
fixes #194
|
13 years ago |
Igor Vaynberg
|
5859dc8149
possible fix for #205
|
13 years ago |
Igor Vaynberg
|
4d79adf6ac
make keyup-change event work with repeated backspace/delete keys. fixes #211. closes #212
|
13 years ago |
Igor Vaynberg
|
482cc409ea
dropdown can now open above or below control depending on available screens pace. fixes #120. based on #197
|
13 years ago |
Igor Vaynberg
|
2c0344a520
take the outerwidth of the element when sizing so we include padding and border. fixes #213
|
13 years ago |
Igor Vaynberg
|
0538bdcfa6
reposition the dropdown whenever results are changed. this is in preparation for open-on-top issue #197
|
13 years ago |
Igor Vaynberg
|
48fe58dee3
better sizing of the input field in multiselect. fixes #203
|
13 years ago |
Igor Vaynberg
|
a4d496281a
fix input sizing when placeholder is set. fixes #192
|
13 years ago |
Igor Vaynberg
|
77de06ecf3
improve percent width detection. issue #115
|
13 years ago |
Igor Vaynberg
|
9c864f1da0
clear the ' ' placeholder on open
|
13 years ago |