• Overview
@angular/forms/signals

validateTree

function

Adds logic to a field to determine if the field or any of its child fields has validation errors.

API

function validateTree<TValue, TPathKind extends PathKind = PathKind.Root>(  path: SchemaPath<TValue, 1, TPathKind>,  logic: NoInfer<TreeValidator<TValue, TPathKind>>,): void;
Jump to details