You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable state for ReactiveForms not working correctly #17985
The problem is that you're swapping out the entire form group, rather than just disabling the existing one which our components aren't set up to handle. There's a fix for mat-select at #17872, but we probably need to make a pass over the other components.
Thx @crisbeto for your reply
The use case requires that I swap out the whole form. (It's some kind of generic form component). So I need to change the whole form.
Do you know, when this fix will be merged? Or can I add a workaround in my code to fix this?
We are closing this issue, because we've determined, using a semi-automated process, that it is no longer relevant, has low engagement, or it does not have enough information to proceed. Feel free to comment if you think the issue should be reopened, or open a new issue with the latest version of our code instead.
Activity
crisbeto commentedon Dec 17, 2019
The problem is that you're swapping out the entire form group, rather than just disabling the existing one which our components aren't set up to handle. There's a fix for
mat-selectat #17872, but we probably need to make a pass over the other components.kevinclerc commentedon Dec 17, 2019
Thx @crisbeto for your reply
The use case requires that I swap out the whole form. (It's some kind of generic form component). So I need to change the whole form.
Do you know, when this fix will be merged? Or can I add a workaround in my code to fix this?
osnoser1 commentedon Jul 18, 2020
I have the same problem and occurs with the
mat-radio-grouptoo 😢crisbeto commentedon May 29, 2026
We are closing this issue, because we've determined, using a semi-automated process, that it is no longer relevant, has low engagement, or it does not have enough information to proceed. Feel free to comment if you think the issue should be reopened, or open a new issue with the latest version of our code instead.
angular-automatic-lock-bot commentedon Jul 1, 2026
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.