• 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

MaxValidationError
@parammaxnumber
@paramoptionsValidationErrorOptions | undefined

kind

"max"

field

() => FieldState<unknown, string | number>

The field associated with this error.

message

string | undefined

Human readable error message.

[BRAND]

undefined

Brand the class to avoid Typescript structural matching

Jump to details