1
0
mirror of synced 2024-11-26 06:46:04 +03:00
select2/dist/js
Kevin Brown 100015b205 Added back select2('val')
With the recent changes to how Select2 works internally, this really
isn't needed. This has been added to make the migration path
easier, and it just internally calls `val` on the underlying select
element. The only difference is that the `val` function will now
convert any non-string elements to strings.

The second argument (`triggerChange`) has not been migrated, as
Select2 now internally relies on the `change` event.

**Note:** As the old `initSelection` method has not been migrated,
it is not possible to set the `val` on remote data sources where
the value has not previously been selected.
2014-12-11 17:11:38 -05:00
..
i18n Finish off the incomplete options documentation 2014-12-09 20:30:57 -05:00
select2.amd.full.js Added back select2('val') 2014-12-11 17:11:38 -05:00
select2.amd.js Added back select2('val') 2014-12-11 17:11:38 -05:00
select2.full.js Added back select2('val') 2014-12-11 17:11:38 -05:00
select2.full.min.js Added back select2('val') 2014-12-11 17:11:38 -05:00
select2.js Added back select2('val') 2014-12-11 17:11:38 -05:00
select2.min.js Added back select2('val') 2014-12-11 17:11:38 -05:00