MCPcopy Create free account
hub / github.com/angular/angular / markAsTouched

Method markAsTouched

packages/forms/signals/src/field/node.ts:272–279  ·  view source on GitHub ↗
(options?: MarkAsTouchedOptions)

Source from the content-addressed store, hash-verified

270 }
271
272 markAsTouched(options?: MarkAsTouchedOptions): void {
273 if (this.structure.isOrphaned()) {
274 return;
275 }
276 untracked(() => {
277 this.markAsTouchedInternal(options);
278 });
279 }
280
281 markAsTouchedInternal(options?: MarkAsTouchedOptions): void {
282 if (this.structure.isOrphaned()) {

Callers

nothing calls this directly

Calls 2

markAsTouchedInternalMethod · 0.95
untrackedFunction · 0.90

Tested by

no test coverage detected