1
0
mirror of synced 2024-11-26 14:56:07 +03:00
select2/tests
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
..
data Support duplicate options 2014-12-17 20:36:06 -05:00
options Support data-* attributes for configuration 2014-12-10 15:23:39 -05:00
selection Add tests for the multiple selection container 2014-11-26 20:50:39 -05:00
utils Added inline searching for multiple selects 2014-11-22 19:21:46 -05:00
vendor Added Utils.Decorate and tests 2014-10-21 21:43:56 -04:00