79088714

Date: 2024-10-15 06:55:58
Score: 0.5
Natty:
Report link

As others already explained, the [disabled] directive you are using is not the optimal use for reactive forms. You can disable a control on creating with the disabled parameter or by using disable() and enable() methods.

You can find an interesting approach by Netanel Basal here: https://netbasal.com/disabling-form-controls-when-working-with-reactive-forms-in-angular-549dd7b42110

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marcel Goldammer