ValidationResult
A validation result where all errors explicitly define their target field.
API
type ValidationResult<E extends ValidationError = ValidationError> = | ValidationSuccess | OneOrMany<E>
Description
A validation result where all errors explicitly define their target field.
The result may be one of the following:
- A
ValidationSuccessto indicate no errors. - A
ValidationErrorwith a field to indicate an error on the target field. - A list of
ValidationErrorwith fields to indicate multiple errors.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/ValidationResult