v-mask icon indicating copy to clipboard operation
v-mask copied to clipboard

Masked input affected by typing in another field in case using function for v-mask

Open speker2010 opened this issue 3 years ago • 1 comments

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

  1. Configure vuelidate rules, for example on "phone" input
  2. Use function for v-mask like v-mask="someFunction", for example on "phone" input
  3. Type something in another field, for example on "first name" input
  4. 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)

speker2010 avatar Oct 19 '22 10:10 speker2010

Any updates here?

tokkerbaz avatar Jun 23 '23 08:06 tokkerbaz