Visitar URL original
validateHttp • Angular
The Wayback Machine - https://web.archive.org/web/20260226205239/https://angular.dev/api/forms/signals/validateHttp
    • Overview
@angular/forms/signals

validateHttp

function

Adds async validation to the field corresponding to the given path based on an httpResource. Async validation for a field only runs once all synchronous validation is passing.

API

function validateHttp<  TValue,  TResult = unknown,  TPathKind extends PathKind = PathKind.Root,>(  path: SchemaPath<TValue, 1, TPathKind>,  opts: HttpValidatorOptions<TValue, TResult, TPathKind>,): void;
Jump to details