vue-search-select
vue-search-select copied to clipboard
Backspace on input is deleting selected options
When the select input is open and empty hitting backspace will delete all selected options. Is there a method to overwrite this behaviour?
I also had this problem using BasicSelect. Hitting backspace triggers @select with empty object.
I had to use following workaround with all select events:
onSelect(selected) {
if (!selected.value) return
....
}
yes, eventually I had to removed it from the component and do a rebuild. But this looks like a nice workaround. Thanks ;)