Big thanks to @stevenharman, @eriknygren and @SimoTod for their significant contributions to this release!
New
- Switched to Flexbox based layout, significantly improved UI for multiple selects.
Props:
filterBy
- Callback to determine if the provided option should match the current search text.
Used to determine if the option should be displayed.
- Callback to determine if the provided option should match the current search text.
filter
- Callback to filter results when search text is provided. Default implementation loops each option,
and returns the result ofthis.filterBy
.
- Callback to filter results when search text is provided. Default implementation loops each option,
index
- type:
string
- Tells vue-select what key to use when generating option values when each
option
is an object.
- type:
clearable
- type:
boolean
- Can the user clear the selected property?
- type:
selectOnTab
- type:
boolean
- When true, hitting the 'tab' key will select the current select value
- type:
Changes
- clicking selected options from the dropdown no longer deselects the option to mimic native
<select>
behavior font-family
set toinherit
instead ofsans-serif
- clicking a selected tag will open the dropdown