npm vue-select 2.5.0
Flexbox Layout, Custom Filters, v-model Object Handling

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

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.
  • filter
    • Callback to filter results when search text is provided. Default implementation loops each option,
      and returns the result of this.filterBy.
  • index
    • type: string
    • Tells vue-select what key to use when generating option values when each option is an object.
  • clearable
    • type: boolean
    • Can the user clear the selected property?
  • selectOnTab
    • type: boolean
    • When true, hitting the 'tab' key will select the current select value

Changes

  • clicking selected options from the dropdown no longer deselects the option to mimic native <select> behavior
  • font-family set to inherit instead of sans-serif
  • clicking a selected tag will open the dropdown

Don't miss a new vue-select release

NewReleases is sending notifications on new releases.