MCPcopy Index your code
hub / github.com/angular/angular / markAsTouched

Method markAsTouched

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

markAsTouchedInternalMethod · 0.95
flushSyncMethod · 0.95
untrackedFunction · 0.90

Tested by

no test coverage detected