mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Rename propertySelect to typedInput and add boolean opt
This commit is contained in:
@@ -164,6 +164,8 @@ function evaluateNodeProperty(value, type, node, msg) {
|
||||
return node.context().flow.get(value);
|
||||
} else if (type === 'global' && node) {
|
||||
return node.context().global.get(value);
|
||||
} else if (type === 'bool') {
|
||||
return /^true$/i.test(value)
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user