Support Article

Dynamic Select values are getting reset to default

SA-28176

Summary



Selected dynamic select values are getting lost. In UI "select" is shown whereas clipboard has the expected value.

Error Messages



Not applicable


Steps to Reproduce



1.Create a grid , in two columns use section include.
2.In the section add dynamic select control with activity as source for DS.
3.Grid has two more column with checkboxes, on click refresh section run datatransform set on both checkboxes .
4.Run case and select/deselct checkboxes fast.

Root Cause



A software use or operation error :-

Use on click of checkbox running activity to set dynamic select values and refreshing the section to show updated values.


1.Onload values were getting set in DS properly.
2.On checkbox selection two events are getting triggered one is refresh section with DT and DS activity to populate the dropdown.
3.At times, before the Refresh Section Run DT / DS activity is getting executed again user clicks another checkbox.
6.The issue is observed if checkbox is selected/deselected very fast.If user gives a pause till all the DS loads again, issue is not observed.

 


Resolution



Since the dynamic select values are static for current scenario (not changing on each refresh section), checked "Enable Caching" option in dynamic select configuration.It will restrcit to reload the DS on each section refresh, in turn checkbox click event works correctly.

Published September 20, 2016 - Updated September 30, 2016


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.