diff --git a/packages/node_modules/@node-red/nodes/core/function/10-switch.html b/packages/node_modules/@node-red/nodes/core/function/10-switch.html index ebe22d65c..c10a53827 100644 --- a/packages/node_modules/@node-red/nodes/core/function/10-switch.html +++ b/packages/node_modules/@node-red/nodes/core/function/10-switch.html @@ -103,6 +103,7 @@ } else if (type === "istype") { r.v = rule.find(".node-input-rule-type-value").typedInput('type'); r.vt = rule.find(".node-input-rule-type-value").typedInput('type'); + r.vt = (r.vt === "number") ? "num" : "str"; } else if (type === "jsonata_exp") { r.v = rule.find(".node-input-rule-exp-value").typedInput('value'); r.vt = rule.find(".node-input-rule-exp-value").typedInput('type'); diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/common/20-inject.html b/packages/node_modules/@node-red/nodes/locales/en-US/common/20-inject.html index 6f72a5c33..bf0fb5c24 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/common/20-inject.html +++ b/packages/node_modules/@node-red/nodes/locales/en-US/common/20-inject.html @@ -36,5 +36,5 @@ greater than one day you should consider using a scheduler node that can cope wi

Note: The "Interval between times" and "at a specific time" options use the standard cron system. This means that 20 minutes will be at the next hour, 20 minutes past and 40 minutes past - not in 20 minutes time. If you want every 20 minutes from now - use the "interval" option.

-

Note: To include a newline in a string you must use a Function node to create the payload.

+

Note: To include a newline in a string you must use the Function or Template node to create the payload.