Releases: sagalbot/vue-select
Releases · sagalbot/vue-select
v3.7.0
v3.6.0
Accessibility Fixes
v3.5.1
v3.5.0
v3.4.0
New
resetOnOptionsChange
accepts aboolean
value, or afunction
that returns aboolean
#1015 #1014 / @jasonvarga
v3.3.0
New
selectable
prop - Determines if an option is selectable #921 / @doitsmap-keydown
prop - hook into keyboard events #971 / @Meekohi @khamerselectOnKeyCodes
prop #971 / @Meekohi @khamer
Fixed
- Refactored dropdown toggling, now works with children of slots #992 / #962 / @CK159
- All keyup listeners switched to keydown #935 / @tobyzerner
- Fixed an edge case where dropdown was unclosable #949 / @doits
- Added
prepare
topackage.json
#980 console.log
warnings no longer stripped fromdist
#983- fixed chrome cancel button appearance #984
- removed side effects from
createOption
#989 - added
.npmignore
to reduce bloat in the installed package #998
Docs
- Updated slot syntax in examples #959 / @reed-jones
- Added docs for modifying dropdown transition
- Added
v-for
docs
v3.2.0 - Reduce Bug Fixes
New
getOptionKey
function prop
Used to set the :key
for each option being iterated in v-for
. Will JSON.stringify
options by default, or look for an option.id
.
Fixes
- #939 fixes #805 that prevented falsey values from working with
reduce
- #914 fixes a bug where changes from a parent were not synced with
v-model
when usingreduce
– big thanks to @doits 🎉 for the great contribution! Closes #855, #917, #925, #923, #901, #892 - #934 fixes a bug where clicking on a certain area of the select would not open the dropdown – thanks @tobyzerner 🎉
v3.1.0 - Components API
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
.