Igor Vaynberg
|
f06aae38fb
better handling of tags that are not just strings. fixes #256
|
13 年之前 |
Igor Vaynberg
|
116528908a
clean up val. now it only accepts ids and only when initselection is set
|
13 年之前 |
Dean Sofer
|
ad8fd257aa
Added truth checks to avoid unnecessarily firing initSelection.
|
13 年之前 |
Dean Sofer
|
d54fd4dd0e
Passing a string to select2('val') with initSelection causes it to be used.
|
13 年之前 |
Igor Vaynberg
|
b672d760ac
allow a custom function for computing the width. fixes #252
|
13 年之前 |
Igor Vaynberg
|
3fc1bc6f35
focus select2 on a click to a related label. fixes #198
|
13 年之前 |
Igor Vaynberg
|
37ff4bbf36
added close event. fixes #246
|
13 年之前 |
Igor Vaynberg
|
33fd9dc810
another tweak for positioning of dropdown and scrollbars. fixes #228 again
|
13 年之前 |
Igor Vaynberg
|
0d5be21e09
fix bug with determing the width. fixes #242
|
13 年之前 |
Igor Vaynberg
|
a718dc45a0
fix multiselects in IEs. fixes #241
|
13 年之前 |
Igor Vaynberg
|
1771c3ba61
fix bug where space was ignored in single selects. fixes #233
|
13 年之前 |
Igor Vaynberg
|
1fc09825ed
tweak dropdown position. fixes #228
|
13 年之前 |
Igor Vaynberg
|
96c0166535
more flexible width strategies. fixes #237
|
13 年之前 |
Kevin Miller
|
17ffe5772e
container receives width style when hidden input has one or via opt
|
13 年之前 |
Igor Vaynberg
|
6c330eb53b
fixes IE8 bug where the dropdown wouldnt open. it would actually open and close immediately because the body would get a focusin event even after the focus was set on the search field by select2. worked fine in IE9
|
13 年之前 |
Igor Vaynberg
|
633a6dc901
mark elements as selected when closeOnSelect is false so they cannot be selected again. fixes #229
|
13 年之前 |
Igor Vaynberg
|
ad9fac45ae
make sure data() returns null instead of undefined when unset. this will prevent chaining which may seem weid. fixes #230
|
13 年之前 |
Igor Vaynberg
|
de0d11a82b
position the dropdown after hiding selected elements so when above it doesnt float away from the control
|
13 年之前 |
Igor Vaynberg
|
39aa17a790
fixed above/below dropdown opening bug
|
13 年之前 |
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 年之前 |
Igor Vaynberg
|
b731545eea
Merge pull request #223 from malekpour/master
|
13 年之前 |
Igor Vaynberg
|
33e8e20159
optimize global mousemove listener
|
13 年之前 |
Igor Vaynberg
|
0aea42fe42
give the sizer a higher offset just in case its on a highres screen
|
13 年之前 |
Igor Vaynberg
|
7947803df4
delay finding the body until it is needed and cache it.
|
13 年之前 |
Ali Malrkpour
|
01faae3ff7
fix updateResults prevention if dropdown is closed
|
13 年之前 |
Igor Vaynberg
|
3ed2cc091a
fixed dropdown alignment in firefox. still need to test IE. #214
|
13 年之前 |
Igor Vaynberg
|
69758f0b71
added a little animation for removed multiselect choices
|
13 年之前 |
Igor Vaynberg
|
0c4888c6ef
expose plugin defaults to make configuration easier. fixes #199
|
13 年之前 |
Igor Vaynberg
|
c17336d1ac
rename tagSeparator to separator. #191
|
13 年之前 |
Grzegorz Kaczan
|
5aae33d789
Add the ability to specify custom tags separator.
|
13 年之前 |