directive
Directive automatically applied to Angular form controls that sets CSS classes based on control status.
[formControlName]
[ngModel]
[formControl]
The following classes are applied as the properties become true:
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/forms/NgControlStatus