# How to reset a dropdown element?

**URL:** <https://community.weweb.io/t/how-to-reset-a-dropdown-element/5436>\
**Category:** How do I?\
**Created:** [November 16, 2023, 2:19pm UTC](https://community.weweb.io/t/how-to-reset-a-dropdown-element/5436 "2023-11-16T14:19:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edbernal](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/edbernal/32/5598_2.png) [@edbernal](https://community.weweb.io/u/edbernal)\
**Post date:** [November 16, 2023, 2:19pm UTC](https://community.weweb.io/t/how-to-reset-a-dropdown-element/5436/1 "2023-11-16T14:19:23Z")

</div>

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

 ![Screenshot 2023-11-16 at 11.12.17](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/2/21fc6c71bb3fb1525e9de8b4293521fc8f5ab9e7.png)  
 ![Screenshot 2023-11-16 at 11.12.27](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/b8eeb0ae16887c4d200d27d6f124f170b5323d91.png)  
 ![Screenshot 2023-11-16 at 11.12.36](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/8e54af0d18583cb832791ea59c25796428706a3f.png)

Heres is a loom video

Thanks!

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [November 16, 2023, 10:07pm UTC](https://community.weweb.io/t/how-to-reset-a-dropdown-element/5436/2 "2023-11-16T22:07:06Z")

</div>

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! 😅

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

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevin/32/13285_2.png) [@Kevin](https://community.weweb.io/u/Kevin)\
**Post date:** [November 30, 2023, 6:23pm UTC](https://community.weweb.io/t/how-to-reset-a-dropdown-element/5436/3 "2023-11-30T18:23:24Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/531d3668524429398662b96a37a1eae6c1d5793f.png)

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

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0c174ff1225d894bf83eb295829dec6c1046ce26.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/04b5c41c50824fdc60fe6b3894ff66c022dc5904.png)
