Fix 'input' event when autocomplete selection is cleared
This commit is contained in:
parent
a6555b7bae
commit
b378033426
|
@ -58,7 +58,7 @@ export default {
|
|||
|
||||
selectionMade(option) {
|
||||
this.selected = option
|
||||
this.$emit('input', option.value)
|
||||
this.$emit('input', option ? option.value : null)
|
||||
},
|
||||
|
||||
// TODO: buefy example uses `debounce()` here and perhaps we should too?
|
||||
|
|
Loading…
Reference in a new issue