I'd like to have a select element in a Node popup be populated with a dynamic list of tables in my database. I'm unsure how best to pass that table information into the HTML file of my custom node so that the select element renders properly.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
Thanks for the reply.
I'm not sure how a list of serial ports can
help me dynamically populate a dropdown in the HTML file of a custom
node. Lemme add some pictures to help add some more clarity to my
scenario:
--
Aha!
I was tinkering with the idea of utilizing an Ajax call to get that data. My concern was security. Does Node-red have any security middleware or best practices so that only the wiring UI can make a call to endpoints like /serialports?
--