Support Article
Checkbox Caption is not disabled when checkbox is disabled
SA-21655
Summary
When the checkbox is disabled, the checkbox caption is not getting disabled and when the checkbox caption is clicked, it is triggering the respective click event activity that is causing incorrect behavior on the UI.
Error Messages
Not Applicable.
Steps to Reproduce
1. Put a checkbox with appropriate caption on the UI.
2. At design time, set the Disable based on a property flag (.propertyName).
3. In the pre activity/DT, set the property .propertyName to True.
4. Add a click event for checkbox and run any activity.
5. At runtime, the checkbox must be disabled, click on the checkbox caption, observe that the activity will run even though the checkbox is disabled.
Root Cause
As identified the root cause of the behavior, there is no condition checked on PZPEGA_UI_EVENTS.JS for checkbox and radiobutton label on disable mode.
Resolution
TYPE : Hotfix
PARENT HOTFIX: HFIX-26952
DEPENDANT HOTFIXES: NO DEPENDENTS ARE PRESENT.
CODE CHANGES:
Rule Key: RULE-FILE-TEXT WEBWB PZPEGA_UI_EVENTS!JS #20151211T114243.727 GMT
Ruleset Name : Pega-UIEngine
Rulset version: 07-10-20
Published April 4, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.