• Overview
@angular/forms/signals

MaxValidationError

Class

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

MaxValidationError
@parammaxnumber
@paramoptionsValidationErrorOptions | undefined

kind

"max"

field

FieldTree<unknown>

The field associated with this error.

message

string | undefined

Human readable error message.

Jump to details