New
open-indicator
slot
The open indicator slot allows you to replace the icon found to the right of the toggle. You can also use the new components
prop to do so.
Components API
Introduces a new API for overwriting Vue Selects default components, as an alternative to using slots. This release ships with two components:
- Deselect
- OpenIndicator
The full documentation for the API is available at https://vue-select.org/guide/components.html
<v-select :components="{Deselect}" />
export default {
data: () => ({
Deselect: {
render: createElement => createElement('span', '❌'),
},
}),
};
Fixes
- Changes to
toggleDropdown
method didn't account for thenoDrop
prop, and would break whennoDrop
wastrue
.