Reputation: 73
<v-select :value.sync="selected" :options="options" @keypress="function()">
</v-select>
I tried the code above, but it doesn't seem to work. is this even possible or is there another way?
Thanks in Advance
Upvotes: 1
Views: 6058
Reputation: 16485
You should add the .native
modifier to listen on events of components, so change the the @keypress=""
to @keypress.native=""
Upvotes: 4