Form Select

Select2

Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.

Single Select

Select2 can take a regular select box like this...

Select

Multiple Select

Select2 can take a regular select box like this...

Choices
Single select input Example

Set data-choices attribute to set a default single select.

This is a placeholder

Set data-choices data-choices-groupsattribute to set option group

Choose a city

Setdata-choices data-choices-search-false data-choices-removeItem

Zero

Setdata-choices data-choices-sorting-falseattribute.

Multiple select input

Set data-choices multiple attribute.

Setdata-choices data-choices-removeItem multipleattribute.

Setdata-choices data-choices-multiple-groups="true" multipleattribute.

Text inputs

Setdata-choices data-choices-limit="Required Limit" data-choices-removeItemattribute.

Task-1

Setdata-choices data-choices-text-unique-trueattribute.

Project-AProject-B

Setdata-choices data-choices-text-disabled-trueattribute.