1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/dist/js
Kevin Brown 61a231d868 Added back select2("data")
In the past, `select2("data")` allowed you to retrieve the currently
selected data objects.  Read-only support has been added back for
this, which maps to the `current` method of the data adapter.  This
will only work for data adapters which allow for the synchronous
retrieval of the current data, which is the case for all of the
default data adapters.

You could also previously overwrite the currently selected data
objects by passing in an argument to `select2("data")`.  As this
dealt directly with the internals, and required a considerable
amount of work to synchronize it, it has been removed.  A warning
will now be triggered if the method is called with additional
elements, and the `val` method should be used instead.

This closes https://github.com/select2/select2/issues/2938.
2015-02-09 20:27:43 -05:00
..
i18n IE7/8 Compatability fixes 2015-02-08 07:29:52 -10:00
select2.amd.full.js Added back select2("data") 2015-02-09 20:27:43 -05:00
select2.amd.js Added back select2("data") 2015-02-09 20:27:43 -05:00
select2.full.js Added back select2("data") 2015-02-09 20:27:43 -05:00
select2.full.min.js Added back select2("data") 2015-02-09 20:27:43 -05:00
select2.js Added back select2("data") 2015-02-09 20:27:43 -05:00
select2.min.js Added back select2("data") 2015-02-09 20:27:43 -05:00