MCPcopy
hub / github.com/angular/angular / validate

Method validate

packages/forms/src/directives/validators.ts:101–101  ·  view source on GitHub ↗

* @description * Method that performs synchronous validation against the provided control. * * @param control The control to validate against. * * @returns A map of validation errors if validation fails, * otherwise null.

(control: AbstractControl)

Source from the content-addressed store, hash-verified

99 * otherwise null.
100 */
101 validate(control: AbstractControl): ValidationErrors | null;
102
103 /**
104 * @description

Callers 8

_reportMethod · 0.65
normalizeValidatorsFunction · 0.65
validateStandardSchemaFunction · 0.65
validateMethod · 0.65

Implementers 10

CustomValidatorpackages/forms/test/reactive_integrati
NoOpValidatorpackages/forms/test/reactive_integrati
CustomValidatorDirectivepackages/forms/test/directives_spec.ts
NoOpValidatorpackages/forms/test/template_integrati
LegacyControlWithValidatorspackages/forms/signals/test/web/intero
LegacyControlWithOnValidatorChangepackages/forms/signals/test/web/intero
UnambiguousRoleValidatorDirectiveadev/src/content/examples/form-validat
ForbiddenValidatorDirectiveadev/src/content/examples/form-validat
UnambiguousRoleValidatorDirectiveadev/src/content/examples/form-validat
NoOpAsyncValidatorpackages/forms/test/reactive_integrati

Calls

no outgoing calls

Tested by

no test coverage detected