# Dropdown node issue

**URL:** <https://discourse.nodered.org/t/dropdown-node-issue/8667>\
**Category:** Dashboard\
**Created:** [6 March 2019 13:10 UTC](https://discourse.nodered.org/t/dropdown-node-issue/8667 "2019-03-06T13:10:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabnavigator](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fabnavigator/32/5403_2.png) [@fabnavigator](https://discourse.nodered.org/u/fabnavigator)\
**Post date:** [6 March 2019 13:10 UTC](https://discourse.nodered.org/t/dropdown-node-issue/8667/1 "2019-03-06T13:10:46Z")

</div>

I have two dropdown nodes, one on one tab, and the other on a second tab. If I manually inject options into them to setup the dropdown items everything works as expected. When I automatically inject the same items, they don't properly display their dropdown items.

The attached flow is set to automatically inject the items. After I deploy, and click on the tabs, I don't see the two items on each dropdown list as expected. If I press the manual inject buttons, everything works.

```auto
[{"id":"2de5703f.7566","type":"tab","label":"Flow T1","disabled":false,"info":""},{"id":"f8123058.b70c5","type":"ui_dropdown","z":"2de5703f.7566","name":"flow t1","label":"","tooltip":"","place":"Select system to control","group":"96416990.7a0cb8","order":1,"width":0,"height":0,"passthru":false,"options":[{"label":"","value":"","type":"str"}],"payload":"","topic":"","x":450,"y":80,"wires":[[]]},{"id":"16be1a65.9c7c36","type":"inject","z":"2de5703f.7566","name":"inject 1s","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":"1","x":120,"y":80,"wires":[["85884691.8799b8"]]},{"id":"85884691.8799b8","type":"function","z":"2de5703f.7566","name":"setup names 1","func":"msg.options = ['Group 1 Item 1', 'Group 1 Item 2'];\nmsg.payload = 'Group 1 Item 1';\nreturn msg;","outputs":1,"noerr":0,"x":280,"y":80,"wires":[["f8123058.b70c5"]]},{"id":"2ae45067.ffe23","type":"ui_dropdown","z":"2de5703f.7566","name":"flow t2","label":"","tooltip":"","place":"Select system to control","group":"d069b178.966a","order":1,"width":0,"height":0,"passthru":false,"options":[{"label":"","value":"item t2","type":"str"}],"payload":"","topic":"","x":430,"y":160,"wires":[[]]},{"id":"445bdc57.973264","type":"inject","z":"2de5703f.7566","name":"inject 2s","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":"2","x":120,"y":160,"wires":[["c3fb3b5a.c50508"]]},{"id":"c3fb3b5a.c50508","type":"function","z":"2de5703f.7566","name":"setup names 2","func":"msg.options = ['Group 2 Item 1', 'Group 2 Item 2'];\nmsg.payload = 'Group 2 Item 1';\nreturn msg;","outputs":1,"noerr":0,"x":280,"y":160,"wires":[["2ae45067.ffe23"]]},{"id":"96416990.7a0cb8","type":"ui_group","z":"","name":"Group T1","tab":"a7dca5ca.7d1c78","disp":false,"width":"6","collapse":false},{"id":"d069b178.966a","type":"ui_group","z":"","name":"Group T2","tab":"8e8f142.f6336e8","disp":false,"width":"6","collapse":false},{"id":"a7dca5ca.7d1c78","type":"ui_tab","z":"","name":"Tab T1","icon":"dashboard","disabled":false,"hidden":false},{"id":"8e8f142.f6336e8","type":"ui_tab","z":"","name":"Tab T2","icon":"dashboard","disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![fabnavigator](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fabnavigator/32/5403_2.png) [@fabnavigator](https://discourse.nodered.org/u/fabnavigator)\
**Post date:** [6 March 2019 17:42 UTC](https://discourse.nodered.org/t/dropdown-node-issue/8667/2 "2019-03-06T17:42:21Z")

</div>

It seems that I need to manually refresh the UI web page after I deploy. If I do that everything is okay.
