Hi, I’m currently using AdvancedInteraction\AdvancedDropdownSearch. The initial setup works well, and selecting options works fine. However, after making multiple selections, I want the dropdown to reset to its default state when I click the reset button. What’s the best way to achieve this behavior?
Thanks in advance for your help!
Hi Jung Im Hong
In the Reset button action, try refreshing the aggregate which is bind to the dropdown item list.
Hello,
I’m using a multi-select dropdown for region selection. The default selected values are Seoul and Busan.
Users can change the selection by choosing other regions or selecting "All". I’ve created a separate reset button, and when it is clicked, I want the dropdown to return to the default selections (Seoul and Busan).
However, I’m not using an Aggregate. I’m retrieving the dropdown data from a REST API.
Is there a way to programmatically reset the dropdown to the default values using this setup?
Any suggestions or workarounds would be appreciated.
Thank you!
Hi @Jung Im Hong
From what I understand, you first call the API and then use the response to set the initial values. In that case, I suggest storing the values in a separate variable before assigning them to the dropdown. This way, when the Reset button is clicked, you can reassign the original values to the dropdown.