• Overview
@angular/forms/signals

RequiredValidationError

Class

An error used to indicate that a required field is empty.

API

    
      class RequiredValidationError extends _NgValidationError {}
    
    

kind

"required"

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