- Notifications
You must be signed in to change notification settings - Fork27k
Open
Labels
Description
Which @angular/* package(s) are relevant/related to the feature request?
forms
Description
When working with signal forms, relying onhidden anddisabled properties often requires the use of!field.hidden() or!field.disabled(), which can make the logic harder to read and reason about.
Proposed solution
Add positive alternatives to the existing boolean properties:
displayedas the inverse ofhiddenenabledas the inverse ofdisabled
@if (field.displayed() && field.enabled()) {Alternatives considered
I have a PR ready to go if the team is interested in these suggestions.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status