N
N
Nikolai Khoziashev2022-01-30 18:29:29
JavaScript
Nikolai Khoziashev, 2022-01-30 18:29:29

How to write a value to the input and immediately change the v-model using v-combobox from the library for vue - vuetify?

61f6af520ade1234026220.jpeg
I use v-combobox from the library for vue - vuetify, which at one time allows you to select an item from items, in addition to entering a value in input, a kind of v-autocomplete with the ability to enter your own value Problem: if you just select a value from items, then everything is fine , they are written to the model, but if you enter text into the input, then in order for the entry to the model to occur, you need to press enter or click behind the input itself Expected result: how to write a value to the input and immediately change the model? Thank you)
<v-combobox v-model="model" :items="items" />

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid Yakovlev, 2022-01-30
@deleo547

Not really sure, but vue seems to have v-model-change, like angular's ngModelChange.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question