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

Method _checkName

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

Source from the content-addressed store, hash-verified

405 }
406
407 private _checkName(): void {
408 if (this.options && this.options.name) this.name = this.options.name;
409
410 if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {
411 throw missingNameException();
412 }
413 }
414
415 private _updateValue(value: any): void {
416 resolvedPromise.then(() => {

Callers 2

ngOnChangesMethod · 0.95
_checkForErrorsMethod · 0.95

Calls 2

_isStandaloneMethod · 0.95
missingNameExceptionFunction · 0.90

Tested by

no test coverage detected