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
Pass null for maskChar and object for formatChar per documentation.
maskChar
formatChar
TypseScript states maskChar can only be a string and formatChar is a string not an object.
field.mask('999-99-9999', '*'); or field.mask('XXXXX', null, {'X': '[0-9]'});
field.mask('999-99-9999', '*');
field.mask('XXXXX', null, {'X': '[0-9]'});
Unable to use the mask function.
mask
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Pass null for
maskChar
and object forformatChar
per documentation.Current Behavior
TypseScript states
maskChar
can only be a string andformatChar
is a string not an object.Steps to Reproduce (for bugs)
field.mask('999-99-9999', '*');
or
field.mask('XXXXX', null, {'X': '[0-9]'});
Context
Unable to use the
mask
function.The text was updated successfully, but these errors were encountered: