is there a way to call a method while clearing a text-field with Vuetify?
<v-text-field
class="mt-2 mb-0"
clearable
solo
v-model="searchQuery"
append-icon="search"
@click:append-outer="searchCos"
label="Nom de compagnies ou mots-clés">
</v-text-field>
...
onClear() {
doSomethingHere
}
Thanks
Francis
You can use the @click:clear="()"
so you can clear your text at the same time it will call the function.
Here's the example