An error used to indicate that a value is longer than the maximum allowed length.
API
class MaxLengthValidationError extends _NgValidationError { constructor(maxLength: number, options?: ValidationErrorOptions | undefined): MaxLengthValidationError; readonly kind: "maxLength"; readonly override field: FieldTree<unknown>; readonly override message?: string | undefined;}
constructor
MaxLengthValidationError@parammaxLength
number@paramoptions
ValidationErrorOptions | undefined@returns
MaxLengthValidationErrorkind
"maxLength"field
FieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.
Jump to details