Drop-down resets the value to the first value in the list.

Hi,

Upon selecting values, Drop down value resets the value to the first value in the list. Drop down is populated by a Report Definition which takes a parameter. Disable automatic refresh is unchecked in General tab of Control Properties.

The Drop down has a default value which should be shown as soon as the screen loads but then it always shows the first value from the list(first value from the list of values, sourced by Report Definition). If we click on Drop down we can see the list of values and upon selecting any value, it gets reset to first value from the list. On the Actions Tab, there is only one Event “Change” with Actions as per below serial order:

Post Value, Run Activity(An activity is being run to set some Properties based on Drop down selection), Refresh Section(One Data Transform is called to set some value, dependent on Property Value changes happening in above activity), Refresh Other Section.

What needs to be done to rectify this issue ?

Thank you,

Pritam

@PritamK0

Do you have any on change action on dropdown or any action being executed on dropdown change. If yes, try checking if that is generating the issue for you.

@PrakashDeep

I updated by Question with more details. Let me know if this helps you to provide any suggestion.

@PritamK0

Hi,

On the “OnChange” event, try doing post value first and then other actions.

@PritamK0 Could you find a solution for this issue? We are facing the same issue after removing refresh and doing post value it did not fix. However by hard coding the parameter value in the RD it just retains the previous selection, but we need to keep the parameter before we promote the code to prod.

@PrakashDeep I removed the Refresh Section and the issue was fixed.

@SyamP533 I removed the Refresh Section and the issue was fixed.