Fix 'input' event when autocomplete selection is cleared

This commit is contained in:
Lance Edgar 2019-11-12 17:51:28 -06:00
parent a6555b7bae
commit b378033426

View file

@ -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?