Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

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

Open
speker2010 opened this issue Oct 19, 2022 · 1 comment

Comments

@speker2010
Copy link

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)

@tokkerbaz
Copy link

Any updates here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants