Support Article

Unable to select checkbox in repeating dynamic layout on Mobile

SA-37252

Summary



After moving to Pega 7.2.2, there is an issue on mobile when using checkboxes within Repeating Dynamic Layouts.

The issue is that no matter what checkbox is clicked, only the first one is selected.

For example, if a Repeating Dynamic Layout creates four checkboxes and when the third one is clicked, the first is selected instead of the third.

Therefore, it is impossible to select/unselect any checkbox in a Repeating Dynamic Layout that is not the first checkbox.


Error Messages



Not Applicable


Steps to Reproduce



1. Create a Repeating Dynamic Layout with a checkbox inside.
2. Try to select a checkbox (besides the first one). No matter which one is selected, only the first checkbox will be selected or unselected.


Root Cause



In this issue, for all the rows of the repeating dynamic layout, the Id of checkbox and labelfor attribute of label are the same. So,whenever user clicks on the label of any checkbox, always the first checkbox is getting selected.

Resolution



Apply HFix-33679.

Published April 28, 2017 - Updated May 19, 2017

Have a question? Get answers now.

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