200
Views
3
Comments
Solved
DropdownSearch - reset in OutsystemsUI 2.11

Hello,

we use the DropdownSearch elements in our filters of the reports. The old programming was able to reset the old DropdownSearch widgets by set the empty element of the list - called by the icon in the red circle. The new DropdownSearches have no empty elements. It is possible to reset the DropdownSearch by the reset icon (the blue circle right) - it calls the OnChanged action and makes the Dropdown empty. 

But we want to use the old reset icons - we can refresh the data aggregate, but how can we make the new Dropdown empty from a client action?



sincerely

Adam Nowicki

2024-08-27 11-35-25
Ajay Anthony
Solution

Hello, did you try the DropdownClear Client action Outsystems UI.

Pass the Widgets Dropdownsearch.id

Hope this will help.

UserImage.jpg
Adam Nowicki

Thank you, it seems to work.


sincerely

Adam Nowicki

UserImage.jpg
Adam Nowicki

Thank you. I have another question - how can i set one of the dropdown-items in the fetch? For Example - there are contracts with master contracts A, B and C, from which i can choose in the dropdown - the contract X has B as his master contract. If my program load the data for X with a master-contract-dropdown and B is saved as the master contract, i want to see B in the dropdown.


I have tried some answers from the internet, but they didn't work... not in our version 2.11


sincerely

Adam Nowicki

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.