- Added right-to-left (RTL) environment support (#109).
- Added multi-property sorting (with configurable direction per field).
- Added
"required"
attribute handling (#136, #63). Thanks to @sjhewitt. - Added support for the same option in multiple optgroups (#76).
- Improved width handling of inner textbox when leading/trailing whitespace is present (#122). Thanks to @jacquelinewheeler.
- Clicking the control when focused now toggles the dropdown when in single mode (#75, #126).
- Highlight selected item in dropdown on focus (#104, #131).
- Added
"searchConjunction"
setting to allow multiple search terms to be joined by an "and" or "or" operator. - Added
"addPrecedence"
setting to allow the "Add..." item to be selected by default when in create mode (#118). - Fixed bug causing "remove_button" and "drag_drop" plugins to still be usable when control is locked/disabled (#140).
- Disabled native browser autocomplete on control.
Multi-Property Sorting
With the new sifter v0.3 integration, you can now sort results by multiple fields. The "sortDirection"
setting has been removed.
sortField: [
{field: 'first_name', direction: 'asc'},
{field: 'last_name', direction: 'asc'}
]
Special Fields
"$score"
| A number representing how good of a match an item is for the current search. |
"$order"
| The original index of an option in a <select> before selectize was initialized. |