You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the examples, we can choose between "AAA" and that will accept typing in upper or lowercase and convert to uppercase.
But there is no such functionality if we are using "XXX", it will accept upper and lowercase characters.
As a suggestion, you could create "YYY" and "yyy" that will accept numbers and the respective uppercase or lowercase characters and have the same functionality as "AAA" and "aaa"
The text was updated successfully, but these errors were encountered:
Examples of data are the new Mercosul car plates:
ABC-1234
ABC-1A34
ABC-12A4
I could figure out a way to support these using array:
['AAA-XXXX','AAA-XAXX','AAA-XXAX']
But for another application, I will need to support combinations of letters and numbers to type a serial code, examples:
ABCD-1234-WXYZ-5678
2345-BCDE-8765-ZYXW
A1B2-C3D4-E5F6-G7H8
the regular expression A-Z will capture all capital letters and 0-9 wil capture all integers.
the transform: v => v.toLocaleUpperCase() line will automatically convert input to capitalize
In the examples, we can choose between "AAA" and that will accept typing in upper or lowercase and convert to uppercase.
But there is no such functionality if we are using "XXX", it will accept upper and lowercase characters.
As a suggestion, you could create "YYY" and "yyy" that will accept numbers and the respective uppercase or lowercase characters and have the same functionality as "AAA" and "aaa"
The text was updated successfully, but these errors were encountered: