We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a problem trying to use two masks together with the alternator operator. They work fine on their own but there are odd behaviours when joining.
I'll try to explain using this jsfiddle.
The first two masks works as they should, but in the third if you do this then the characters won't erase as they does in the first mask field:
Am I using the alternator operator in the wrong way? Thanks in advance.
The text was updated successfully, but these errors were encountered:
Replace the alternator with this
var im = new Inputmask(["9{7,8}-A", "(x|y|z|X|Y|Z)-9{6,7}-A"]);
or
var im = new Inputmask("(9{7,8}-A)|((x|y|z|X|Y|Z)-9{6,7}-A)");
Sorry, something went wrong.
No branches or pull requests
I have a problem trying to use two masks together with the alternator operator.
They work fine on their own but there are odd behaviours when joining.
I'll try to explain using this jsfiddle.
The first two masks works as they should, but in the third if you do this then the characters won't erase as they does in the first mask field:
Am I using the alternator operator in the wrong way?
Thanks in advance.
The text was updated successfully, but these errors were encountered: