PRPC62SP1[UI]Dependent DynSelect loads without selecting parent
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.
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.
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.
This issue is resolved by hotfix item HFix-10179.