maska
maska copied to clipboard
Mask applied to one input affects another input if hidden with v-if
If two inputs have v-if
/v-else
and only one of them has v-maska
applied, then upon hiding the element that has the directive the other one will be affected by the mask.
Probably closely related to https://github.com/beholdr/maska/issues/77.
try this:
v-maska="activeMask || { mask: 'E*', tokens: { E: { pattern: /./ } } }"
Please try with the new version (v2.0) if issue still actual.