Hi everyone.
I have a Dropdown Search widget on my screen. At the start, no value is selected. The user may select a value from the dropdown.
Upon clicking a button, I want the Dropdown to go back to its original state (no item selected). I tried refreshing the Dropdown's source (an Aggregate) but it doesn't seem to work.
Is there another way I can achieve this?
Thanks in advance.
Hi Yuzuhi,
In my above comment, i have given you a discussion link for an alternative to do reset.
But if your use case is to clear dropdown search using 'Reset' button only, then i have tried with this and got the solution.
You can check attached OML for Reset button implementation.
In Below i have shared a link for the demo.
https://shweta-gedam.outsystemscloud.com/DropdownSearchReset/DropdownResetDemo?_ts=637438982553430869
Hope this Helps, Thanks and Happy Coding!!
Thank you so so much, that worked just fine :)
Please take a look at the same discussion link here and let me know if it works.
https://www.outsystems.com/forums/discussion/61954/clear-dropdownsearchs-selection-reactive/
Thanks
Yeah, just set value back to null
Hi Yuzuhi ,
You have to assign "" to value before refreshing the aggregate.
Samiksha