# Dashboard ui\_dropdown behaviour

**URL:** https://discourse.nodered.org/t/dashboard-ui-dropdown-behaviour/22825
**Category:** General
**Created:** [9 March 2020 02:25 UTC](https://discourse.nodered.org/t/dashboard-ui-dropdown-behaviour/22825 "2020-03-09T02:25:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)
#### Post date: [9 March 2020 02:25 UTC](https://discourse.nodered.org/t/dashboard-ui-dropdown-behaviour/22825/1 "2020-03-09T02:25:44Z")

</div>

The behaviour of the ui\_dropdown that I see when an item is selected (the onclick event) is that msg.topic is not sent.

To clarify, it appears this ONLY occurs when msg.topic is passed in, not when set in the dropdown editor. When set in the editor it is sent. **Shouldn't msg.topic also be passed through when sent from further upstream?**

Thanks.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [9 March 2020 08:55 UTC](https://discourse.nodered.org/t/dashboard-ui-dropdown-behaviour/22825/2 "2020-03-09T08:55:21Z")

</div>

would make sense that it should. Can you create a small example to show this - and then raise an issue against the project. Thanks

---

<div class="post-metadata">

### Author: ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)
#### Post date: [10 March 2020 09:32 UTC](https://discourse.nodered.org/t/dashboard-ui-dropdown-behaviour/22825/3 "2020-03-10T09:32:33Z")

</div>

Issue raised at [https://github.com/node-red/node-red-dashboard/issues/570](https://github.com/node-red/node-red-dashboard/issues/570)

Small example:

```auto
[{"id":"378084f1.6e8a4c","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"f6aa478f.4999f8","type":"ui_dropdown","z":"378084f1.6e8a4c","name":"","label":"","tooltip":"","place":"Select option","group":"bc734ee9.1fc03","order":3,"width":0,"height":0,"passthru":true,"options":[{"label":"","value":"test_value","type":"str"}],"payload":"","topic":"","x":400,"y":120,"wires":[["24247d8d.edc172"]]},{"id":"1406b9ab.442e36","type":"inject","z":"378084f1.6e8a4c","name":"","topic":"test_topic","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":120,"wires":[["f6aa478f.4999f8"]]},{"id":"24247d8d.edc172","type":"debug","z":"378084f1.6e8a4c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":540,"y":120,"wires":[]},{"id":"bc734ee9.1fc03","type":"ui_group","z":"","name":"Default","tab":"404bc445.7afdec","disp":true,"width":"6"},{"id":"404bc445.7afdec","type":"ui_tab","z":"","name":" ***TESTING***","icon":"dashboard","order":7,"disabled":false,"hidden":false}]

```

---

<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: [9 May 2020 09:32 UTC](https://discourse.nodered.org/t/dashboard-ui-dropdown-behaviour/22825/4 "2020-05-09T09:32:35Z")

</div>

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