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

Method _checkName

packages/forms/src/directives/ng_model.ts:417–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415 }
416
417 private _checkName(): void {
418 if (this.options && this.options.name) this.name = this.options.name;
419
420 if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {
421 throw missingNameException();
422 }
423 }
424
425 private _updateValue(value: any): void {
426 resolvedPromise.then(() => {

Callers 2

ngOnChangesMethod · 0.95
_checkForErrorsMethod · 0.95

Calls 2

_isStandaloneMethod · 0.95
missingNameExceptionFunction · 0.90

Tested by

no test coverage detected