formula: support implicit multiplication of ${id} statements
This commit is contained in:
parent
540beabdc2
commit
8e08ff5399
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ module.exports = class Formula extends _widgets_base {
|
|||
|
||||
for (id of this.linkedWidgets) {
|
||||
if (id !== undefined) {
|
||||
formula = formula.replace('${' + id + '}', JSON.stringify(widgetManager.getWidgetById(id)[0].getValue()))
|
||||
formula = formula.replace('${' + id + '}', '(' + JSON.stringify(widgetManager.getWidgetById(id)[0].getValue()) + ')')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue