1
0
mirror of synced 2024-11-26 23:06:02 +03:00
select2/docs
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
..
_includes Added more documentation 2014-12-09 22:02:16 -05:00
_layouts Started building the docs site 2014-10-21 21:43:58 -04:00
dist Started building the docs site 2014-10-21 21:43:58 -04:00
vendor Started building out the examples 2014-10-21 21:43:58 -04:00
.gitignore Started building the docs site 2014-10-21 21:43:58 -04:00
announcements-4.0.html 4.0 announcement 2014-12-10 22:31:07 -05:00
community.html Working on the contributor pages 2014-10-21 21:44:01 -04:00
examples.html Added back select2('val') 2014-12-11 17:11:38 -05:00
index.html Added getting started guide to the home page 2014-12-05 21:21:40 -05:00
options.html Support data-* attributes for configuration 2014-12-10 15:23:39 -05:00