UI Dropdown trying to allow for single entry or multiple

#21

Why would set not work?

0 Likes

#22

https://cookbook.nodered.org/basic/move-message-property

The Set also works. And there is no way to tell before each actual use case which one is correct.
Using Move avoids unnecessary duplicates of data. And it is given to user in one step. Comes handy if project grows as you can imagine.
But I think the cookbook page or Change node info can be improved to help users understand benefit of correct usage of those commands.

0 Likes

#23

Iā€™m sure a pull request would be welcome

0 Likes

#24

With my English? No way :smiley:

Let's keep the topic clear for UI Dropdown issue.

0 Likes

#25

Meanwhile... the actual error would seem to be the extra . in the property
image
You need it as per @colin ' s post above msg.payload[0]["COUNT( DISTINCT uuid)"]
if you use the [ ] syntax you don't use . as well.

0 Likes

#26

gotcha! Thank you

0 Likes