1
0
mirror of synced 2024-11-22 13:06:08 +03:00
select2/dist
Kevin Brown 584d3b48a2 Added selectOnClose
`selectOnClose` is a new option which works very much like the old
`selectOnBlur` option. When the `close` event is triggered, the
highlighted result is automatically selected. This is useful for
single selects, which is where it is designed to be used, but it
can also be used on multiple selects.

This also adds tests to verify that this works in the future.

During the creation of the test, we noticed that we were missing a
mock container that could be used for triggering events. One was
created and a general mock JS file was created to hold any future
mocks for tests.
2015-01-11 21:47:17 -05:00
..
css Fix support for deep nesting 2015-01-09 20:50:06 -05:00
js Added selectOnClose 2015-01-11 21:47:17 -05:00