1
I’m learning to use vue
and vuetify
and I’m using a library to make fields with masks.
The bike in question is Vue-Mask.
When loading the component, the mask is not applied automatically unless I move the field, or type something again.
<v-text-field
v-model="item.phone"
v-mask="'(##) #####-####'"
label="Telefone"
/>
Export the component globally.
import VueTheMask from 'vue-the-mask';
Vue.use(VueTheMask)
Someone knows how to fix this?
This component works like this, it has this component that can help you Vue Masked Input and their examples is clear how to use
– novic