- Overview
- Documents
Select 2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.
Use cases
-
Enhancing native selects with search.
-
Enhancing native selects with a better multi-select interface.
-
Loading data from JavaScript: easily load items via AJAX and have them searchable.
-
Nesting optgroups: native selects only support one level of nesting. Select2 does not have this restriction.
-
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.
-
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.
Browser compatibility
- IE 8+
- Chrome 8+
- Firefox 10+
- Safari 3+
- Opera 10.6+
Source: github.com