npm vue-select 3.1.0
v3.1.0 - Components API

latest releases: 3.20.3, 3.20.2, 3.20.1...
5 years ago

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 the noDrop prop, and would break when noDrop was true.

Closes #845
Merged #850 #860

Don't miss a new vue-select release

NewReleases is sending notifications on new releases.