Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice