• Overview
@angular/forms/signals

ValidationResult

Type Alias

A validation result where all errors explicitly define their target field.

API

Description

A validation result where all errors explicitly define their target field.

The result may be one of the following:

  1. A ValidationSuccess to indicate no errors.
  2. A ValidationError with a field to indicate an error on the target field.
  3. A list of ValidationError with fields to indicate multiple errors.
Jump to details