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

Function cleanUpFormContainer

packages/forms/src/directives/shared.ts:331–336  ·  view source on GitHub ↗
(
  control: FormGroup | FormArray,
  dir: AbstractFormGroupDirective | FormArrayName,
)

Source from the content-addressed store, hash-verified

329 * @returns true if a control was updated as a result of this action.
330 */
331export function cleanUpFormContainer(
332 control: FormGroup | FormArray,
333 dir: AbstractFormGroupDirective | FormArrayName,
334): boolean {
335 return cleanUpValidators(control, dir);
336}
337
338function _noControlError(dir: NgControl) {
339 return _throwError(dir, 'There is no FormControl instance attached to form control element with');

Callers 1

_cleanUpFormContainerFunction · 0.90

Calls 1

cleanUpValidatorsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…