v-mask
v-mask copied to clipboard
Masked input affected by typing in another field in case using function for v-mask
V-Mask and Vue versions
2.30, 2.5 vuelidate: 0.7.7
Reproduction Link
https://codesandbox.io/s/v-mask-demo-forked-6cscv2
Steps to reproduce
- Configure vuelidate rules, for example on "phone" input
- Use function for
v-masklikev-mask="someFunction", for example on "phone" input - Type something in another field, for example on "first name" input
- You'll see that "phone" field makes validation
What is Expected?
When I type name, phone is untouched (dirty === false in vuelidate model)
What is actually happening?
When I type name, phone is changed and validations kick in. (dirty get updated to true in vuelidate model)
Any updates here?