Choices.js is a lightweight, configurable select box/text input plugin. Similar to Select2 and Selectize but without the jQuery dependency.
Set data-choices
attribute to set a default single select.
Set data-choices data-choices-groups
attribute to set option group
Set data-choices data-choices-search-false data-choices-removeItem
Set data-choices data-choices-sorting-false
attribute.
Set data-choices multiple
attribute.
Set data-choices data-choices-removeItem multiple
attribute.
Set data-choices data-choices-multiple-groups="true" multiple
attribute.
Set data-choices data-choices-limit="3" data-choices-removeItem
attribute.
Set data-choices data-choices-text-unique-true
attribute.
Set data-choices data-choices-text-disabled-true
attribute.
Select2 is an advanced replacement for standard select boxes. It supports searching, remote data sources, and infinite scrolling of results.
An example of a select dropdown with an appended button using Select2.
Select2 can take a regular select box with optgroup support for better organization.
Select2 multiple select with grouped options and placeholder.
Easily configure layout, styles, and preferences for your admin interface.