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

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

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.

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?

[{"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}]

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

2 Likes

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

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