Select2ADDONSelect2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and pagination of results.
Enhancing native selects with search by using native selects with a better multi-select interface. Easily load items via AJAX and have them searchable. Native selects only support one level of nesting. Select2 does not have this restriction. You can also work with large, remote datasets: ability to partially load a dataset based on the search term.
Find in-depth, guidelines, tutorials and more on Select2's Official Documentation
IE10 Support:Since this is the latest version of select2 with a customized UI to match SmartAdmin WebApp, some parts of select2 may have issues with IE10. This is due to the limitation of IE10 CSS & Javascript engine, which is currently outdated and has no workaround method. You may use earlier version of select2 and its vanilla skin if select2 is a must have for your list of plugins.
Select Single
.select2class for basic select2 control.
disabledattribute on <select>elements. You can also initialize Select2 with disabled: trueto get the same effect.
Infinityto tell Select2 to never display the search box.
$.ajaxfunction, or the transport function you specify.
Select Multiple
multipleattribute
.select2class for basic select2 control. Use multiple="multiple"attribute for multiple select box
disabledattribute on <select>elements. You can also initialize Select2 with disabled: trueto get the same effect
multipleattribute with maximumSelectionLengthin the select2 options.
data-iconto add icon name for each options. And use class .js-select2-iconsto set icon with option.
