Number Input Node DB2 set the number by input

looking at examples and they documents don't see a way to set the number by an input. All I find are ways to set different aspects of the node. Is there a way to set the number by input?

Hi @gerry,
Probably I misunderstood your question. But can't you just inject the numeric input via ´msg.payload´?

Wow, didn't see that coming, way overthought the issue.
Thanks

I completely get your confusion.
You have to look it this way:

  • The value of a ui node is passed via msg.payload.
  • When dynamic properties are supported, you can overwrite the (part of the) settings from the config screen via msg.ui_update.xxx
  • And then there are a couple of others, e.g. msg.enable, msg.visible and msg.class (which are implemented in the ui_base class, so they are available for all nodes even the third party contributions).

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