Spec-Zone.ru › Angular

Validator

A function that takes the FieldContext for the field being validated and returns a ValidationResult indicating errors for the field and its sub-fields. In a Validator all errors must explicitly define their target field.

Signal Form Validation

API

type Validator<TValue, TPathKind extends PathKind = PathKind.Root> = LogicFn<
  TValue,
  ValidationResult,
  TPathKind
>

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/Validator

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API