hello allan,
attr: { type: Allow - A-Z, a-z, 0-9, . , -, <space> }
weather we can restrict string field to allow only numbers and A-Z string and some required special case using attribute
regards karthik
You would need to listen for the keypress event on the input element (field().input()) and reject any that you don't want by calling e.preventDefault().
keypress
input
field().input()
e.preventDefault()
Allan
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
You would need to listen for the
keypress
event on theinput
element (field().input()
) and reject any that you don't want by callinge.preventDefault()
.Allan