W3cubDocs

/Angular

validateTree

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;

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