AbstractFormGroupDirective

From Get docs
< @angular/formsAngular/docs/11/api/forms/abstractformgroupdirective


AbstractFormGroupDirective

directive

A base class for code shared between the NgModelGroup and FormGroupName directives.

Properties

Property Description
control: FormGroup

Read-Only The FormGroup bound to this directive.

path: string[]

Read-Only The path to this group from the top-level directive.

null

Read-Only The top-level directive for this group if present, otherwise null.

Inherited from ControlContainer

  • name: string | number | null
  • formDirective: Form | null
  • path: string[] | null

Inherited from AbstractControlDirective

  • abstract control: AbstractControl | null
  • value: any
  • valid: boolean | null
  • invalid: boolean | null
  • pending: boolean | null
  • disabled: boolean | null
  • enabled: boolean | null
  • errors: ValidationErrors | null
  • pristine: boolean | null
  • dirty: boolean | null
  • touched: boolean | null
  • status: string | null
  • untouched: boolean | null
  • statusChanges: Observable<any> | null
  • valueChanges: Observable<any> | null
  • path: string[] | null
  • validator: ValidatorFn | null
  • asyncValidator: AsyncValidatorFn | null

Inherited from AbstractControlDirective

  • reset(value: any = undefined): void
  • hasError(errorCode: string, path?: string | (string | number)[]): boolean
  • getError(errorCode: string, path?: string | (string | number)[]): any


© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/forms/AbstractFormGroupDirective