1
0
mirror of synced 2025-02-09 16:49:24 +03:00
Kevin Brown 9d4ec4f85b Add templating documentation
This adds documentation for the `templateResult` and
`templateSelection` options.  The fact that placeholders and
custom messages are templated was noted, although most people
should be using the standard `text` property that they provide
anyway.  This fixes the templating link provided in the release
announcement to link to the correct location in the documentation.

This also adds support for the `templateSelection` function to
return a DocumentFragment or jQuery compatible object to be
passed back and rendered.

This closes https://github.com/select2/select2/issues/3005.
This closes https://github.com/select2/select2/issues/3019.
2015-02-09 19:27:10 -05:00
..
2015-02-08 07:29:52 -10:00
2015-02-09 19:27:10 -05:00
2015-02-09 19:27:10 -05:00
2015-02-09 19:27:10 -05:00
2015-02-09 19:27:10 -05:00