NgControlStatusGroup
该指令自动应用于 Angular 表单组,基于控件的状态(有效、无效、脏等)设置 CSS 类。
Directive automatically applied to Angular form groups that sets CSS classes based on control status (valid/invalid/dirty/etc).
参见
Exported from
选择器
[formGroupName]
[formArrayName]
[ngModelGroup]
[formGroup]
form:not([ngNoForm])
[ngForm]