• Overview
@angular/forms/signals

FieldValidator

Type Alias

A function that takes the FieldContext for the field being validated and returns a ValidationResult indicating errors for the field.

API

    
      type FieldValidator<TValue, TPathKind extends PathKind = PathKind.Root> = LogicFn<  TValue,  ValidationResult<ValidationError.WithoutField>,  TPathKind>
    
    
Jump to details