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
|
před 13 roky |
Igor Vaynberg
|
06ec20dec6
improve keyup-change detection
|
před 13 roky |
Igor Vaynberg
|
6f973d6e40
formatSelection() can now return html string, dom, or jquery object in both multi and single select. #188
|
před 13 roky |
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
|
před 13 roky |
Igor Vaynberg
|
5a73385474
fixes #194
|
před 13 roky |
Igor Vaynberg
|
5859dc8149
possible fix for #205
|
před 13 roky |
Igor Vaynberg
|
4d79adf6ac
make keyup-change event work with repeated backspace/delete keys. fixes #211. closes #212
|
před 13 roky |
Igor Vaynberg
|
482cc409ea
dropdown can now open above or below control depending on available screens pace. fixes #120. based on #197
|
před 13 roky |
Igor Vaynberg
|
2c0344a520
take the outerwidth of the element when sizing so we include padding and border. fixes #213
|
před 13 roky |
Igor Vaynberg
|
0538bdcfa6
reposition the dropdown whenever results are changed. this is in preparation for open-on-top issue #197
|
před 13 roky |
Igor Vaynberg
|
48fe58dee3
better sizing of the input field in multiselect. fixes #203
|
před 13 roky |
Igor Vaynberg
|
a4d496281a
fix input sizing when placeholder is set. fixes #192
|
před 13 roky |
Igor Vaynberg
|
77de06ecf3
improve percent width detection. issue #115
|
před 13 roky |
Igor Vaynberg
|
9c864f1da0
clear the ' ' placeholder on open
|
před 13 roky |
Igor Vaynberg
|
6a5719db80
added open event
|
před 13 roky |
Andy Fowler
|
ec08be78e4
jquery < 1.6 compatibility fix (:focus is unavailable)
|
před 13 roky |
Mitko Tschimev
|
ac8a4db76f
bugfix moveHighlight: disabled list elements were highlighted now they are ignored
|
před 13 roky |
Royce Feng
|
9baada2a5c
Default to auto width if container has 0 width (hidden)
|
před 13 roky |
Igor Vaynberg
|
9c4a4d1b8a
improve whitespace detection
|
před 13 roky |
Igor Vaynberg
|
83c11b27df
fix firefox caret bug. closes #153
|
před 13 roky |
Igor Vaynberg
|
4ddcc52635
clear search field when data() is used. #178
|
před 13 roky |
Igor Vaynberg
|
95a144d85e
highlighting and keyboard navigation improvements to result list that has optgroups
|
před 13 roky |
Igor Vaynberg
|
adc15e3682
fix page 2+ rendering. fixes #175
|
před 13 roky |
Igor Vaynberg
|
6b736669d2
add reference to original option element in the data when attached to select. fixes #171
|
před 13 roky |
Igor Vaynberg
|
504bca4b43
Merge branch 'master' of github.com:ivaynberg/select2
|
před 13 roky |
Igor Vaynberg
|
e12fbdec7e
add data method that works with objects instead of ids like val. fixes #166
|
před 13 roky |
Igor Vaynberg
|
b886b40907
Merge pull request #173 from nutshellcrm/38b9d060b116fc4957110f25b03b8437be981136
|
před 13 roky |
Igor Vaynberg
|
3107d9d773
manage the more element slightly more efficiently
|
před 13 roky |
Igor Vaynberg
|
593dadec54
trigger loadmoreifneeded on first and other pages
|
před 13 roky |
Igor Vaynberg
|
ea28fa4fe4
Revert "keep loading more results until there are enough to cause a scroll. closes #164 closes #164 closes #74"
|
před 13 roky |