v-mask
v-mask copied to clipboard
Mask doesn't work with v-model.lazy
Currently the mask only applies on blur when using with v-model.lazy. This makes sense, but it also severely limits the usage with async validation through libraries like vee-validate and vuelidate.
V-Mask and Vue versions
1.3.3, 2.5.2
Reproduction Link
https://codesandbox.io/s/qv7360k6ow
Steps to reproduce
In my codesandbox link I've got two examples both using v-model.lazy:
- Text field without a mask
- A number field with the mask '## #### ####'
- Type three or more numbers into the field labelled 'Phone'
- Tab out of the field It's not until you tab out that the mask gets applied.
What is Expected?
What is actually happening?
any solution for this?