• Overview
@angular/forms/signals

ValidationErrorWithField

interface

Validation error with a field.

API

    
      interface ValidationErrorWithField extends ValidationError {}
    
    

field

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

The field associated with this error.

kind

string

Identifies the kind of error.

message

string | undefined

Human readable error message.

Description

Validation error with a field.

This is returned from field state, e.g., catField.errors() would be of a list of errors with field: catField bound to state.

Jump to details