Select2 can take a regular select box and turn it into this...
Select2 also supports multi-value select boxes. The select below is declared with the multiple
attribute.
Select2 multi-value select boxes can set restrictions regarding the maximum number of options selected. The select below is declared with the multiple
attribute with maxSelectionLength
in the select2 options.
Select2 supports ability to add choices automatically as the user is typing into the search field. Try typing in the search field below and entering a space or a comma.
The separators that should be used when tokenizing can be specified using the tokenSeparators
options.
Select2 provides a way to load the data from a local array.