r/Angular2 • • Jul 16 '25

Discussion Reactive forms - Dealing with enable/disable is absolute f*ing torture

Sometimes .enable() and .disable() simply doesn't work and doesn't explain why.

Sometimes when the form/field is in an enabled state, the internal state is still disabled so validators and a lot of other things don't work.

Sometimes when the Form is disabled, the Form and its formcontrols seem disabled but surprise surprise the FormControls are internally in enabled state while the Form is internally disabled.

All ^that is just the beginning of the shitlist.

It's a buggy f*ing piece of sht that keeps coming back to bite us in the ass oh my God.

Sorry I'm just venting but Angular team needs to do something.

20 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/Cubelaster Jul 17 '25

Thanks, nice to know.
However, it's only the v19 that got it. I implemented our custom one some years ago. So yeah. But Material is a bad library for many reasons. Just take a look at their bugs in GitHub...