Reputation: 23161
In Vuetify.js, when using <v-combobox>
when I click away, the value I had typed is added to the model.
How can I prevent this?
https://vuetifyjs.com/en/components/combobox
https://codepen.io/anon/pen/NVQBWz?&editable=true&editors=101
What's strange is that the JSFiddle in the example site works, but if I copy the HTML/JS exactly into my app I experience this.
Upvotes: 1
Views: 2034
Reputation: 19002
You could reset the input value on blur
<v-combobox @blur="search = ''"
Upvotes: 3