1

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? Commented Jun 21, 2019 at 2:52

1 Answer 1

2
+100

You could reset the input value on blur

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.