How to reset a dropdown element?

I have a dropdown with different values, when I select one and click on the clear icon to reopen the dropdown, it appears in the last place of the selected item, I would like it to be shown from the beginning, that is, how it is shown when you just open a dropdown for first time. I already created a workflow on the clear icon to reset & change the value of the dropdown but it does not work



Heres is a loom video

Thanks!

Mmm you know what, I’m not sure it’s possible in no-code right now. Or couldn’t figure out how to do it either at least! :sweat_smile:

Let me check with the tech team and get back to you on that one.

1 Like

Hey @edbernal sorry for the late reply

Indeed, this is an automatic behavior of the element over which it is rather difficult to have control.
Nevertheless, I’ve come up with a little hack that may enable you to get the expected result if your select is not too heavy.

Create a variable that you can name selectVisible, for example. It will be a boolean set to true by default.
Then bind the select’s conditional rendering to this variable.

And lastly, on the Clear icon element, add a workflow to the click. This workflow will:

  • Change variable → selectVisible to false
  • Change variable → selectVisible to true


1 Like