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
Hello, did you try the DropdownClear Client action Outsystems UI.
Pass the Widgets Dropdownsearch.id
Hope this will help.
Thank you, it seems to work.
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