Optional
Prevent the user from entering more than this number of characters.
Must be more than the minLength if minLength is set to a number.
minLength
Prevent the user from entering less than this number of characters.
Must be less than the maxLength if maxLength is set to a number.
maxLength
Prevent the user from entering more than this number of characters.
Must be more than the
minLength
ifminLength
is set to a number.