Select2 - Autocomplete
Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.
Input Groups
RTL Support and Bootstrap Control Sizing
The theme offers styles to display "small" and "large" Select2 widgets in Bootstrap Input Groups with Bootstrap Control Sizing classes applied (e. g. Select2 in .input-group.input-group-sm
or .input-group.input-group-lg
). You may also apply the Bootstrap Control Sizing classes directly to the .select2-container
to alter its appearance.
Requires select2.full.js
Those of you familiar with Select2 v3 remember that the default behavior was to copy the original elements CSS-classes to the container of the Select2 element. Select2 v4 provides a similar functionality in its full build, select2.full.js. It contains a compatibility module which behaves similar to v3 in copying CSS classes from the original <select>
element. To invoke, set the containerCssClass
option to :all:
.