Hi all,
I am creating a custom nod-red node. In which there is a select tag. I want its options to populate and change on runtime based on the input this node receives from any other node. How can i do this?
Hi all,
I am creating a custom nod-red node. In which there is a select tag. I want its options to populate and change on runtime based on the input this node receives from any other node. How can i do this?
The standard way to do this is to add an ExpressJS API endpoint in the runtime that the Editor can query and returns the data to update the select via jQuery.
Check out the code for the core serial node for an example.
Yes, thank you. That worked.