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