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

Custom Switch Control does not reflect live Read Only (disabled) changes #151

Open
DarkyShadoW opened this issue Aug 17, 2023 · 3 comments

Comments

@DarkyShadoW
Copy link
Contributor

DarkyShadoW commented Aug 17, 2023

If a JS/BR unlock (make editable) a field the Custom Switch control does not reflect this change and still locked on "Read Only" status. You have to refresh the control via JS to make it editable.

@DarkyShadoW DarkyShadoW changed the title Control does not reflect live Read Only changes Custom Switch Control does not reflect live Read Only changes Aug 17, 2023
@DarkyShadoW DarkyShadoW changed the title Custom Switch Control does not reflect live Read Only changes Custom Switch Control does not reflect live Read Only (disabled) changes Aug 17, 2023
@DarkyShadoW
Copy link
Contributor Author

As workarround hiding and showing again the control force the control to re-render.

@DarkyShadoW
Copy link
Contributor Author

Created PR #152 "updateView" to make the control get Switch lock/unlocked when is disabled/enabled on the form by JS/BR

@StillLearning1
Copy link

I installed the latest 1.12.3.0 version, and this issue still exists when using the 'New Look'. This is a show-stopper bug, I now need to remove this control from all of my apps, where I was using it extensively.

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

No branches or pull requests

2 participants