Allowing user to edit a list variable of a custom node

I've been able to specify node configuration UI using the standard input HTML elements, but when it comes to a variable that is a list itself, what is a standard way of building its node-config UI?

For example, through the config of a name-matching node, I might ask user to give a list of reference names in advance, so that the reference list can be matched against by the runtime input names.

The user will also need to add/remove/edit the reference list.

I checked the various custom nodes in the official node repo, but couldn't find useful examples.

Thanks in advance!

https://nodered.org/docs/api/ui/editableList

There are many source code examples eg The change node

2 Likes

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