Node config parameter not following default value

Hi @danube,
Indeed when you add a new property to a node, that won't exist on existing nodes. So you always have to deal with 2 cases:

  • html file: When the user opens the config screen of such an old node, you have to set explicit (with a js statement) the default value if the property does not exist yet, and show that default value.
  • js file: When the user does NOT open the config screen, then the backend of your code also needs to set the default value if the property does not exist yet. To make sure that existing nodes process input messages correctly.

See more info here.

Bart