Type Alias CharacterLengthElement

CharacterLengthElement: {
    maxLength?: number;
    minLength?: number;
}

Type declaration

  • OptionalmaxLength?: number

    Prevent the user from entering more than this number of characters.

    Must be more than the minLength if minLength is set to a number.

  • OptionalminLength?: number

    Prevent the user from entering less than this number of characters.

    Must be less than the maxLength if maxLength is set to a number.