-
Notifications
You must be signed in to change notification settings - Fork 0
Description
maxLength
Specifies the maximum length of the string that can be entered into the password field. This must be a non-negative integer (0 or higher). If no maxlength is defined or if an invalid value is provided, the password field has no maximum length. The maxlength value must also be greater than or equal to the minlength value.
If the user enters a string exceeding the maxlength limit, the input will fail constraint validation. Note that this validation is only triggered when the user changes the field’s value.
minLength
Defines the minimum length of the string that can be entered into the password field. This must be a non-negative integer that is less than or equal to the maxlength value. If no minlength is set or if an invalid value is provided, the password field has no minimum length.
If the user enters a string shorter than the minlength value, the input will fail constraint validation. As with maxlength, this validation is applied only when the field’s value is modified by the user.