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

Fields become disabled after re-creation #2624

Closed
SonyStone opened this issue Dec 14, 2020 · 2 comments
Closed

Fields become disabled after re-creation #2624

SonyStone opened this issue Dec 14, 2020 · 2 comments
Labels

Comments

@SonyStone
Copy link

Description
If the FormlyFieldConfig is used for the second time and the first field is disabled, then other fields are also disabled.

It's hard to explain. If you click the toggle button several times in the example, you can see that the second and third fields are also disabled, when they shouldn't.

Minimal Reproduction
https://stackblitz.com/edit/formly-bug-disabled-fields?file=src/app/app.component.ts

Your Environment

  • Angular version: 9.1.0
  • Formly version: 5.10.8
@SonyStone SonyStone added the bug label Dec 14, 2020
@luizfbicalho
Copy link
Contributor

I'm not sure, but looks like it's related with #2598

what do you think?

@aitboudad
Copy link
Member

I've reverted the commit that caused the issue, fixed in v5.10.9.

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

3 participants