Igor Vaynberg
92ceb93e93
fix ajax defaults not to interfere with options
2013-05-07 09:07:03 -07:00
Igor Vaynberg
bcfa3fc702
show search if minimum input length has been set
2013-05-07 08:39:16 -07:00
Igor Vaynberg
43e6b86f75
prevent scrollback left on opening. fixes #467
2013-05-06 23:40:31 -07:00
Igor Vaynberg
13c1dcbf67
add default ajax options. fixes #1125
2013-05-06 21:20:08 -07:00
Igor Vaynberg
694432d83d
fix fast typing in IE. fixes #949
2013-05-06 20:54:26 -07:00
Igor Vaynberg
26f41602b2
Merge pull request #1247 from juliankrispel/master
...
Display formatNoMatches when all ajax results are selected
2013-05-06 20:29:25 -07:00
Igor Vaynberg
e21018147c
fixes #1263
2013-05-06 20:26:30 -07:00
Igor Vaynberg
d668ae76d0
select2-focus and select2-blur events. fixes #798 . closes #866
2013-05-06 20:13:05 -07:00
Igor Vaynberg
882e7996f4
keep focus in control when the mask is clicked
2013-05-06 20:05:15 -07:00
Igor Vaynberg
4094c1c7de
fix tab-on-select transfers focus to next element. fixes #898 . fixes #1045
2013-05-06 19:42:38 -07:00
Igor Vaynberg
9c1caa6d3a
add handling of autofocus attribute. fixes #837
2013-05-06 19:25:09 -07:00
Igor Vaynberg
b0959000b3
namespace events and consoldate select and selected into selecting. fixes #497 . fixes #1262
2013-05-06 16:12:38 -07:00
Igor Vaynberg
266861ac51
fix parameter names
2013-05-06 15:26:46 -07:00
Igor Vaynberg
231cce0add
Merge pull request #1187 from barryhunter/patch-2
...
Bugfix for Resetting Scrollpoint on Multi-select
2013-05-06 15:25:55 -07:00
Igor Vaynberg
8008bfa8dc
attr to prop change. #1260
2013-05-06 15:23:46 -07:00
Igor Vaynberg
0fe95eb07c
Merge pull request #1062 from bigmihail/patch-1
...
Use $.prop() to get "multiple" attribute
2013-05-06 14:07:26 -07:00
Igor Vaynberg
adb126edc6
Merge pull request #1239 from NielsKuhnel/master
...
Keyboard navigation in choices (whitespace preserved)
2013-05-06 13:41:06 -07:00
Igor Vaynberg
55827b9159
introduce support for separate readonly and disabled modes. closes #1253 . fixes #778 . closes #1183
2013-05-06 13:13:02 -07:00
Igor Vaynberg
62e0ae6004
#1260 closes #1252 fixes #992 - retrieve option text as value when value is not defined
2013-05-06 09:54:17 -07:00
Igor Vaynberg
83050fd2fa
Problem escaped caracter on IE7. fixes #856
2013-05-06 09:34:44 -07:00
Julian Krispel-Samsel
9d06fe24dc
Render formatNoMatches when all ajax results are selected #381
2013-05-04 08:03:00 +01:00
Niels Kühnel
870b1b7165
Less aggresive keyboard deletes and carret stays
2013-05-03 11:51:41 +02:00
Niels Kühnel
877c1d90c5
Keyboard navigation in choices (tags)
2013-05-03 00:41:55 +02:00
Leigh Halliday
da7dd51294
Changing to from ' to ' because ' isn't supported in IE8
2013-05-02 12:03:20 -04:00
Igor Vaynberg
78139a80ba
work around chrome and mutation observer bug. fixes #1099
2013-04-27 11:08:29 -07:00
Vitaly
79228ce1e0
add title for choice item
2013-04-26 18:22:23 +04:00
barryhunter
4e8da110d6
Bugfix for Resetting Scrollpoint on Multi-select
...
Duplicating pull request #974 - which seemed to only fix it for 'single' version. Have copied the same condition into the one for 'multi' case. There may be a better way, but in my testing this seems to have worked.
2013-04-15 00:25:51 +02:00
barryhunter
f511d5a2ff
Allow overriding jquery's automatic cache-busting on ajax calls
...
By default jQuery (and Select2) add parameters to ajax calls, to invalidate browser caching. In certain circumstances its useful to disable this (eg when server sets good Cache-Control headers), this patch allows passing the cache/jsonpCallback params though to jquery's ajax function.
2013-04-14 23:14:16 +02:00
Julen Ruiz Aizpuru
8cb3698820
Fix #1172 -- Properly set width when allowClear is being used.
...
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-04-12 07:58:31 -07:00
Igor Vaynberg
25549c787b
Revert "applied fix for #1172 - Clear button overlaps text"
...
This reverts commit fd07c11484
.
2013-04-12 07:58:13 -07:00
Igor Vaynberg
06c82f2d0b
do not propagate change event from the search field out of the component. fixes #1178
2013-04-11 20:22:52 -07:00
Alex Rice
a0f35aba3f
Remove inline styles
2013-04-12 02:57:03 +00:00
Igor Vaynberg
4a0851bce5
Array data with custom key (string) isn't returning matches. fixes #1179
2013-04-11 19:15:16 -07:00
Igor Vaynberg
fd07c11484
applied fix for #1172 - Clear button overlaps text
2013-04-11 15:00:17 -07:00
Martin K.
9057a9606f
Update select2.js
...
See #1175 - fixed typo introduced in last commit
2013-04-10 19:33:23 -03:00
Igor Vaynberg
45995d0f34
fix tabindex for both multi and single. fixes #1169
2013-04-10 12:56:30 -07:00
leipie
bc2c780449
Fix tabindexing
...
Actually set tabindex on the select2-focusser for focussing on tab
navigation
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-04-10 12:43:30 -07:00
Igor Vaynberg
f582d8ae15
Merge pull request #979 from mynameistechno/master
...
Fixes #291
2013-04-10 12:30:05 -07:00
Igor Vaynberg
92e2c6d56f
Merge pull request #1073 from norlin/master
...
Fix initSelection method with empty input value
2013-04-10 08:22:10 -07:00
Igor Vaynberg
dc27a5b74d
add a rejectable select event. fixes #1053
2013-04-09 19:53:11 -07:00
Igor Vaynberg
2bf5a763c5
fix keystroke dropping when single select is opened by typing in unopened state really fast. fixes #949
2013-04-09 18:58:30 -07:00
Igor Vaynberg
bd2a8c6d84
centralize option tag to data element translation
2013-04-09 15:11:39 -07:00
Igor Vaynberg
49e9908656
Merge pull request #1162 from leipie/master
...
Fix IE8 clickable issues
2013-04-09 09:54:49 -07:00
Igor Vaynberg
598773258e
fixes #1163 fixes #1160 fixes #1129
2013-04-09 09:51:24 -07:00
leipie
d1c81dfbe2
Make select whole select clickable in IE8
2013-04-09 17:12:01 +02:00
Igor Vaynberg
511c1b8728
when resolving width use case insensitive expression. fixes #1065
2013-04-08 16:25:46 -07:00
Igor Vaynberg
de07ba2b16
apply offscreen class after calculating width because offscreen class resets the width. also use css('width') when copying width if it returns a usable value. fixes #1140 . fixes #1079
2013-04-08 16:24:15 -07:00
Igor Vaynberg
d80ec81199
Merge pull request #1055 from jessefoster/autoDropdownWidth
...
Add option to automatically size dropdown width
2013-04-03 09:16:01 -07:00
Dmitrii Chekaliuk
aedcc10b8f
Fix focus issue on multi-value select
...
Inside the multi-value select box, when you hit backspace next to the
choice, it gets the `select2-search-choice-focus` class, but that class
is not being removed when select box loses the focus.
2013-03-28 02:29:59 +02:00
Igor Vaynberg
2f69290e2d
Merge pull request #1095 from nolamesa/patch-1
...
Fix for random scrolling when using hierarchical data
2013-03-26 12:19:35 -07:00