Visitar URL original
validateTree • Angular
The Wayback Machine - https://web.archive.org/web/20260226175006/https://angular.dev/api/forms/signals/validateTree
    • 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