Dashboard ui_dropdown behaviour

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.

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

Issue raised at https://github.com/node-red/node-red-dashboard/issues/570

Small example:

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

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