formula: support resultset

This commit is contained in:
jean-emmanuel 2017-01-24 22:00:06 +01:00
parent 8e08ff5399
commit 664362b456

View file

@ -83,7 +83,9 @@ module.exports = class Formula extends _widgets_base {
try {
this.value = math.eval(formula).valueOf()
var v = math.eval(formula).valueOf()
this.value = v.data ? v.data : v
this.showValue()