Angular 10 References/ Forms
References

AbstractFormGroupDirective

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

Interface, extends ControlContainer

control#

get control(): FormGroup
The `FormGroup` bound to this directive.

path#

get path(): string[]
The path to this group from the top-level directive.

formDirective#

get formDirective(): Form|null
The top-level directive for this group if present, otherwise null.

validator#

get validator(): ValidatorFn|null
The synchronous validators registered with this group.

asyncValidator#

get asyncValidator(): AsyncValidatorFn|null
The async validators registered with this group.