# Dropdown - how to clear selection/show label?

**URL:** <https://discourse.nodered.org/t/dropdown-how-to-clear-selection-show-label/99718>\
**Category:** Dashboard\
**Tags:** dashboard-2, dropdown\
**Created:** [19 November 2025 16:09 UTC](https://discourse.nodered.org/t/dropdown-how-to-clear-selection-show-label/99718 "2025-11-19T16:09:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markost](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@markost](https://discourse.nodered.org/u/markost)\
**Post date:** [19 November 2025 16:09 UTC](https://discourse.nodered.org/t/dropdown-how-to-clear-selection-show-label/99718/1 "2025-11-19T16:09:13Z")

</div>

I continue to play with the dropdown. Node is configured to have its own label and it is properly displayed when starting node-red and dashboard (flowfuse, ver 1.29.0).  
The value selection works fine, however I want to return the layout to the default (to show the label).  
In the help, it says that by sending msg.payload with an empty array this is achieved. It doesn't work for me, except in the case when the option "Allow multiple selections from list" is selected in dropdown.  
Is this expected behavior or a bug? Is there any other way to return the display to the initial one (to display the label)?  
Thx

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 November 2025 16:32 UTC](https://discourse.nodered.org/t/dropdown-how-to-clear-selection-show-label/99718/2 "2025-11-19T16:32:45Z")

</div>

It works for me. Import this flow to see it.

```auto
[{"id":"89f4586d9507dffa","type":"ui-dropdown","z":"997da33a0beedade","group":"f445af788da0bddf","name":"core dropdown","label":"core dropdown","tooltip":"","order":4,"width":"3","height":"1","passthru":false,"multiple":false,"chips":false,"clearable":false,"options":[{"label":"","value":"a","type":"str"},{"label":"","value":"b","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","typeIsComboBox":true,"msgTrigger":"onChange","x":1300,"y":1420,"wires":[[]]},{"id":"177d62a5569cc1f5","type":"inject","z":"997da33a0beedade","name":"Clear","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[]","payloadType":"json","x":1290,"y":1360,"wires":[["89f4586d9507dffa"]]},{"id":"f445af788da0bddf","type":"ui-group","name":"Test group 1","page":"c6ff182a4185f2f2","width":"6","height":1,"order":2,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"c6ff182a4185f2f2","type":"ui-page","name":"Test page","ui":"ID-BASE-1","path":"/testpage","icon":"home","layout":"grid","theme":"c4cba76c368d7996","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":3,"className":"","visible":"true","disabled":"false"},{"id":"ID-BASE-1","type":"ui-base","name":"Dashboard","path":"/dashboard","appIcon":"","includeClientData":false,"acceptsClientConfig":["ui-control","ui-notification","ui-gauge-classic"],"showPathInSidebar":false,"headerContent":"page","titleBarStyle":"default","showReconnectNotification":false,"notificationDisplayTime":"1","showDisconnectNotification":true,"allowInstall":true},{"id":"c4cba76c368d7996","type":"ui-theme","name":"Test theme","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}},{"id":"b5098fbf256bb38d","type":"global-config","env":[],"modules":{"@flowfuse/node-red-dashboard":"1.29.0"}}]

```

---

<div class="post-metadata">

**Author:** ![markost](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@markost](https://discourse.nodered.org/u/markost)\
**Post date:** [19 November 2025 16:53 UTC](https://discourse.nodered.org/t/dropdown-how-to-clear-selection-show-label/99718/3 "2025-11-19T16:53:07Z")

</div>

Very fast 🚀 and completely accurate 👏! It works correctly, of course 😀  
Thanks!  
I left msg.payload as a string instead of JSON 🙃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 December 2025 16:53 UTC](https://discourse.nodered.org/t/dropdown-how-to-clear-selection-show-label/99718/4 "2025-12-03T16:53:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
