directive
Directive automatically applied to Angular form groups that sets CSS classes based on control status (valid/invalid/dirty/etc). On groups, this includes the additional class ng-submitted.
[formGroupName]
[formArrayName]
[ngModelGroup]
[formGroup]
form:not([ngNoForm])
[ngForm]
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/forms/NgControlStatusGroup