MscrmTools / PCF-Controls

Controls using PowerApps Components Framework
GNU General Public License v3.0
83 stars 42 forks source link

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

Open DarkyShadoW opened 1 year ago

DarkyShadoW commented 1 year ago

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 commented 1 year ago

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

DarkyShadoW commented 1 year ago

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

StillLearning1 commented 9 months ago

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.