Closed JordashTalon closed 1 year ago
You can use <v-select v-model="value" :options="options" @option:selected="selectedHandle">
More: "@open", "@close", "@update:modelValue", "@search", "@search:compositionstart", "@search:compositionend", "@search:keydown", "@search:blur", "@search:focus", "@search:input", "@option:created", "@option:selecting", "@option:selected", "@option:deselecting", "@option:deselected"
Thanks @hainguyenhd @update:modelValue
is the one that worked best for me, that also handles the case when the value is cleared.
Describe the bug @input is no longer firing
Steps To Reproduce Use @input="onInput()" the onInput() is never fired.
Expected behavior When the v-model is changed the @input function is fired.
This was working in Vue2 but not the Vue3 beta. I was able to get a change event working with the @option:selected event but @input no longer works. @option:selected also doesn't handle when the clear x button is clicked.