PCF-Controls
PCF-Controls copied to clipboard
Custom Switch Control does not reflect live Read Only (disabled) changes
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.
As workarround hiding and showing again the control force the control to re-render.
Created PR #152 "updateView" to make the control get Switch lock/unlocked when is disabled/enabled on the form by JS/BR
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.