1
0
mirror of synced 2024-11-26 23:06:02 +03:00
select2/dist/js
Kevin Brown 8aca7a4085 Added templating example
This also fixes the case where `templateResult` does not return a
string, where it will fall back to jQuery to set the value of the
option.  This allows for the `templateResult` function to return a
jQuery or DOM element that contains the templated data.

Just like with the translation methods, only strings returned from
`templateResult` will be escaped.

The old flag icons have been transferred from the old repository to
the documentation, for use in the templates.  Unfortunately I cannot
find a license for them, but I suspect a license isn't actually
needed considering the state flags are public.

This closes https://github.com/select2/select2/issues/3005.
This closes https://github.com/select2/select2/issues/818.
2015-02-09 17:35:40 -05:00
..
i18n IE7/8 Compatability fixes 2015-02-08 07:29:52 -10:00
select2.amd.full.js Added templating example 2015-02-09 17:35:40 -05:00
select2.amd.js Added templating example 2015-02-09 17:35:40 -05:00
select2.full.js Added templating example 2015-02-09 17:35:40 -05:00
select2.full.min.js Added templating example 2015-02-09 17:35:40 -05:00
select2.js Added templating example 2015-02-09 17:35:40 -05:00
select2.min.js Added templating example 2015-02-09 17:35:40 -05:00