• 개요
@angular/forms/signals

ValidationResult

타입 별칭
안정화v22.0부터

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

API

설명

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.
상세 내용으로 이동