# Ui-dropdown issue select item through msg.payload when pass through is disabled

**URL:** https://discourse.nodered.org/t/ui-dropdown-issue-select-item-through-msg-payload-when-pass-through-is-disabled/40692
**Category:** Dashboard
**Created:** [9 February 2021 17:27 UTC](https://discourse.nodered.org/t/ui-dropdown-issue-select-item-through-msg-payload-when-pass-through-is-disabled/40692 "2021-02-09T17:27:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)
#### Post date: [9 February 2021 17:27 UTC](https://discourse.nodered.org/t/ui-dropdown-issue-select-item-through-msg-payload-when-pass-through-is-disabled/40692/1 "2021-02-09T17:27:09Z")

</div>

Hello,

I have problems updating ui-dropdown by sending `msg.payload´.

The node is configured like this with NO pass trough to avoid a infinite loop.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/63296f2a1301105858d68b767d64d6fce30e3709.png)

If I send i.e. `msg.payload=10` to the node the dashboard isn't updated (should show "10 sek.").  
If I enable `pass trough` the dashboard is updated but I get an infinite loop.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/a/7a127225cec74799bc163ef641b8ab237774de87.png)

I expect the dashboard to be updated even when `pass trough" is off (like the text input node does).  
Before digging deeper is this a expected behaviour?

```auto
[{"id":"2fd66c2b.c8e054","type":"ui_dropdown","z":"626acd09.10ba04","name":"duration","label":"","tooltip":"","place":"Übergang wählen","group":"303af826.19f248","order":7,"width":"5","height":"1","passthru":false,"multiple":false,"options":[{"label":"sofort","value":0,"type":"num"},{"label":"10 sek.","value":10,"type":"num"},{"label":"30 sek.","value":30,"type":"num"},{"label":"1 Minute","value":60,"type":"num"},{"label":"10 Minuten","value":600,"type":"num"},{"label":"30 Minuten","value":1800,"type":"num"},{"label":"1 Stunde","value":3600,"type":"num"}],"payload":"","topic":"duration","x":1029,"y":2346,"wires":[[]]},{"id":"90184bf7.e83788","type":"inject","z":"626acd09.10ba04","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"10","payloadType":"num","x":815,"y":2482,"wires":[["2fd66c2b.c8e054"]]},{"id":"303af826.19f248","type":"ui_group","z":"","name":"Szenen","tab":"d4daea7b.1ec4b8","order":3,"disp":true,"width":"13","collapse":true},{"id":"d4daea7b.1ec4b8","type":"ui_tab","z":"","name":"Pflanzen","icon":"plant","disabled":false,"hidden":false}]

```

---

<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 February 2021 18:40 UTC](https://discourse.nodered.org/t/ui-dropdown-issue-select-item-through-msg-payload-when-pass-through-is-disabled/40692/2 "2021-02-09T18:40:02Z")

</div>

It’s a known bug in the current version. Fixed in master due for release soon

---

<div class="post-metadata">

### Author: ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)
#### Post date: [9 February 2021 18:44 UTC](https://discourse.nodered.org/t/ui-dropdown-issue-select-item-through-msg-payload-when-pass-through-is-disabled/40692/3 "2021-02-09T18:44:58Z")

</div>

Thank you, I can live with that, no problem.

---

<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: [11 March 2021 18:45 UTC](https://discourse.nodered.org/t/ui-dropdown-issue-select-item-through-msg-payload-when-pass-through-is-disabled/40692/4 "2021-03-11T18:45:44Z")

</div>

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