AbstractFormGroupDirective
NgModelGroup
和 FormGroupName
指令之间共享代码的基类。
A base class for code shared between the NgModelGroup
and FormGroupName
directives.
属性
属性 | 说明 |
---|---|
control: FormGroup | 只读 |
path: string[] | 只读 从顶级指令到该组的路径。 The path to this group from the top-level directive. |
formDirective: Form | null | 只读 该组的顶级指令(如果存在),否则为 null。 The top-level directive for this group if present, otherwise null. |
继承自 ControlContainer
继承自 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