An error used to indicate that a value is higher than the maximum allowed.
API
class MaxValidationError extends _NgValidationError { constructor(max: number, options?: ValidationErrorOptions | undefined): MaxValidationError; readonly kind: "max"; readonly override field: FieldTree<unknown>; readonly override message?: string | undefined;}
constructor
MaxValidationErrorkind
"max"field
FieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.
Jump to details