• Overview
@angular/forms/signals

ValidationError

interface

Common interface for all validation errors.

API

    
      interface ValidationError {}
    
    

kind

string

Identifies the kind of error.

field

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

The field associated with this error.

message

string | undefined

Human readable error message.

Description

Common interface for all validation errors.

Use the creation functions to create an instance (e.g. requiredError, minError, etc.).

Jump to details