I'd like to remove the error when I have focus on my input. Here is my input:
<v-text-field
v-model="models.codePostal"
label="Code postal"
:rules="regles.codePostal"
:hint="this.models.communeResidence.codePostal!==''?`Pourrait être ${this.models.communeResidence.codePostal}`:''"
hide-details="auto"></v-text-field>
I thought I could add
@focus="error=false"
But it doesn't work. Does anybody have an idea? It may not be possible. Thanks.
hide-details="auto"vuetifyjs.com/en/components/text-fields#auto-hiding-details