Support Article
PRPC62SP1[UI]Dependent DynSelect loads without selecting parent
SA-2942
Summary
With PegaWAI enabled, a select button is associated to a DynamicSelect control.
With a Cascading Dynamic Select configuration, at runtime, the child DynamicSelect list is auto loaded once the value on the parent DynamicSelect list is changed. The expectation is that the 2nd Dynamic Select list should not get loaded until the select button of the first Dynamic Select is clicked.
Error Messages
No errors, unexpected behaviour reported.
Steps to Reproduce
HFix-10018 is also required to address a DynamicSelect focus issue.
Enable PegaWAI and configure a Section with Cascading DynamicSelect.
At runtime, change the value of the parent DynamicSelct and check the behaviour of the child.
The child DynamicSelect is automatically loaded when the parent DynamicSelect list is changed.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. In case of accessibility, when using PegaWAI, a button was introduced beside the DynamicSelect dropdown so a user can set the value selected from the drop down (by pressing the button). In the case of cascading DynamicSelect, upon selecting the value from first drop down (parent), the values in the second DynamicSelect (child) were loaded BEFORE the user had pressed the button. This is because an onchange event is fired to load the values in the child DynamicSelect. In case of accessibility using PegaWAI, the onchange event should not fire and the load should not occur until a user clicks on the select button of the parent DynamicSelect.
Resolution
This issue is resolved by hotfix item HFix-10179.
Published January 31, 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.