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

Function noop

packages/forms/src/directives/shared.ts:126–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124 validateControlPresenceOnChange: boolean = true,
125): void {
126 const noop = () => {
127 if (validateControlPresenceOnChange && (typeof ngDevMode === 'undefined' || ngDevMode)) {
128 _noControlError(dir);
129 }
130 };
131
132 // The `valueAccessor` field is typically defined on FromControl and FormControlName directive
133 // instances and there is a logic in `selectValueAccessor` function that throws if it's not the

Callers

nothing calls this directly

Calls 1

_noControlErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…