1
0
mirror of synced 2024-11-26 14:56:07 +03:00
select2/tests/data
Kevin Brown 0bc73941fe Support duplicate options
Now that the data objects have the `element` property, we can test
to make sure it's a DOM element and then use it for selecting the
option. This allows us to select multiple options with the same id,
as well as handle cases where that is already happening.

You cannot use `$e.val()` to select two options with the same id,
as jQuery will reject it, but you can set the second option to
`.selected = true`, which is supported.
2014-12-17 20:36:06 -05:00
..
array-tests.js Added test to make sure the options are generated 2014-11-06 12:12:43 -05:00
array.html Added basic tests for select2/data/array 2014-10-21 21:43:58 -04:00
base-tests.js Linted tests 2014-10-21 21:43:57 -04:00
base.html Broke out a base data adapter 2014-10-21 21:43:57 -04:00
maximumInputLength-tests.js Added maximumInputLength support 2014-11-26 21:52:49 -05:00
maximumInputLength.html Added maximumInputLength support 2014-11-26 21:52:49 -05:00
minimumInputLength-tests.js Added tests for tags 2014-11-25 21:28:16 -05:00
minimumInputLength.html Added tests for minimumInputLength 2014-11-25 20:12:17 -05:00
select-tests.js Support duplicate options 2014-12-17 20:36:06 -05:00
select.html Support duplicate options 2014-12-17 20:36:06 -05:00
tags-tests.js Finished off tests for tags 2014-11-26 19:53:15 -05:00
tags.html Added tests for tags 2014-11-25 21:28:16 -05:00