Select3 options
Option | Type | Default | Description |
---|---|---|---|
closeOnSelect |
Boolean | true |
Determines if Select3 element should be closed after selection is made. |
search |
Boolean | false |
Toggles searching by option value. |
minimumInputLength |
Integer | 3 |
Determines the minimum number of characters to be typed into the search box before starting search. Requires search to be true .
|
dropdownMaxHeight |
Integer | 300 | Determines the maximum height in pixels of the dropdown element. |
maximumSelectedOptions |
Integer | 100 |
Determines the maximum number of options allowed to be selected at once.
If passed number is smaller than the number of pre-selected options of <select> element,
then maximumSelectedOptions will be set to the number of selected options.Requires <select> element to have multiple attribute set.
|
placeholder |
String | <empty string> |
Determines text to display to user when before any option is selected. Maximum length at 1000. |
searchNoResults |
String | <empty string> |
Determines text to display to user when searching yields to results. Maximum length at 1000. Requires search to be set to true
|
formatOptionsFunction |
Function | null |
Allows custom formatting of dropdown options. |