1
0
mirror of synced 2025-02-16 20:13:16 +03:00
This commit is contained in:
Igor Vaynberg 2013-06-05 08:18:00 -07:00
parent e6db3ef208
commit 111cf37cfe

View File

@ -1,21 +1,21 @@
Select2 Select2
======= =======
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
To get started checkout examples and documentation at http://ivaynberg.github.com/select2 To get started, checkout examples and documentation at http://ivaynberg.github.com/select2
Use cases Use cases
--------- ---------
* Enhancing native selects with search * Enhancing native selects with search.
* Enhancing native selects with a better multi-select interface * Enhancing native selects with a better multi-select interface.
* Loading data from JavaScript: easily load items via ajax and have them searchable * Loading data from JavaScript: easily load items via ajax and have them searchable.
* Nesting optgroups: native selects only support one level of nested, Select2 does not have this restriction * Nesting optgroups: native selects only support one level of nested. Select2 does not have this restriction.
* Tagging: ability to add new items on the fly * Tagging: ability to add new items on the fly.
* Working with large remote datasets: ability to partially load a dataset based on the search term * Working with large, remote datasets: ability to partially load a dataset based on the search term.
* Paging of large datasets: easy support for loading more pages when the results are scrolled to the end * Paging of large datasets: easy support for loading more pages when the results are scrolled to the end.
* Templating: support for custom rendering of results and selections * Templating: support for custom rendering of results and selections.
Browser compatibility Browser compatibility
--------------------- ---------------------
@ -40,10 +40,10 @@ Internationalization (i18n)
--------------------------- ---------------------------
Select2 supports multiple languages by simply including the right Select2 supports multiple languages by simply including the right
language JS file (`select2_locale_it.js`, `select2_locale_nl.js` etc.). language JS file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.).
Missing a language? Just copy `select2_locale_en.js.template`, translate Missing a language? Just copy `select2_locale_en.js.template`, translate
it and make a pull request back to Select2 here on GitHub. it, and make a pull request back to Select2 here on GitHub.
Bug tracker Bug tracker
----------- -----------