How to get the typed value in v-select component?

365 Views Asked by At

I am using the vue-select component in my Vue CLI project. The code is following:

<v-select @keypress.native="getResult()" :options="category_array" v-model="selected" :clearable="false"></v-select>

Now the issue is, the data "selected" is getting updated when I am selecting any value from the dropdown, not when I am typing anything in the component. I need to get the typed value from the component. Is there any way to get that?

0

There are 0 best solutions below