1
votes

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.

1
I copied your code in a simple html file and it works as the same as your codepen snippet, could you be more clear about the behavior you want to prevent?Amr Aly

1 Answers

3
votes

You could reset the input value on blur

<v-combobox @blur="search = ''"