- Notifications
You must be signed in to change notification settings - Fork26.7k
Open
Milestone
Description
Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
Does Angular plan to add support forcontrol status classes (.ng-invalid
,.ng-dirty
) etc. like it's already doing for [formControl] or [ngModel] ? At the moment it doesn't works with signal [control].
Proposed solution
N/A
Alternatives considered
It's quick to make a custom [control] directive which bind css classes according to the state of the signal control.
The problem with this solution is the custom directive must be imported each time along with signal [control], it's not automatic so it's easy to forgot to import the directive.