maska icon indicating copy to clipboard operation
maska copied to clipboard

Mask applied to one input affects another input if hidden with v-if

Open anatolykopyl opened this issue 2 years ago • 1 comments

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.

Reproduction link codesandbox

anatolykopyl avatar Jun 27 '22 20:06 anatolykopyl

try this:

v-maska="activeMask || { mask: 'E*', tokens: { E: { pattern: /./ } } }"

krinteron avatar Jul 29 '22 16:07 krinteron

Please try with the new version (v2.0) if issue still actual.

beholdr avatar Dec 04 '22 15:12 beholdr