I am migrating our app from Classic to Modern using sdk 7.4 In classic the Ext.form.field.Text class has a maskRe config that will limit what characters the user can input into the field - for example /[0-9"]/ will limit the input to the digits 0 to 9 and the double quote character. They can enter as many digits or quote marks as they like - just not any other characters. Any other character the user may type is ignored. How can I achieve this in the Modern framework. inputMask is NOT what I am looking for. Validators comes close but that just makes the field show as invalid if the user types an invalid character which is annoying for the user.
You can use stripCharsRe
.
Here is the documentation link.