The InputMask for the TextField component has been updated and works according to the documentation. After the changes, the inputmask supports dynamic syntax:
9{1,4} meant to mean that it accepts one, two, three or four numbers
9[99] meant to mean that it accepts one number and two additional optional numbers
Also according to the documentation, "a" allows to enter lowercase and uppercase letters, and "A" allows to enter only uppercase letters
Breaking Changes / Backwards Compatibility
Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility
Dependencies
no
How has this PR been tested?
Tests have been added and updated
Checklist:
[x] I have completed the above PR template
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] My changes include tests that prove my fix is effective (or that my feature works as intended)
[x] New and existing unit/integration tests pass locally with my changes
[ ] Any dependent changes have corresponding PRs that are listed above
Link to Jira Ticket
https://formio.atlassian.net/browse/FIO-4242
Description
The InputMask for the TextField component has been updated and works according to the documentation. After the changes, the inputmask supports dynamic syntax:
Also according to the documentation, "a" allows to enter lowercase and uppercase letters, and "A" allows to enter only uppercase letters
Breaking Changes / Backwards Compatibility
Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility
Dependencies
no
How has this PR been tested?
Tests have been added and updated
Checklist: