Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The form does not reload correctly the property disabled when changing fields #2829

Closed
fontsie opened this issue May 5, 2021 · 4 comments
Closed
Labels

Comments

@fontsie
Copy link

fontsie commented May 5, 2021

Hello!

When I click on Submit I change the fields object but the form is not reloaded correctly.
Disabled fields remain disabled.

Demo:
https://stackblitz.com/edit/formly-example-tcl3mw

Some workaround?
Thanks!

@aitboudad
Copy link
Member

The provided example use an old version of Formly, here is a working example https://stackblitz.com/edit/angular-eh3pb5 which use the latest version.

@fontsie
Copy link
Author

fontsie commented May 5, 2021

Thanks for quikly reply.
I have tried to update Formly but the problem still remains.

Investigating I think it is related to FormlyMaterialModule

Demo:
https://stackblitz.com/edit/angular-1wah83

@fontsie
Copy link
Author

fontsie commented May 10, 2021

@aitboudad is it possible to reopen this issue?

Thanks

@aitboudad
Copy link
Member

This issue has been fixed and released as part of v5.10.20 release.

Please let us know, in case you are still encountering a similar issue/problem.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants