Browse Source

update

master
guy 4 years ago
parent
commit
3b5fd7dd12
  1. 5
      src/base/single/single.js

5
src/base/single/single.js

@ -199,7 +199,10 @@ BI.Single = BI.inherit(BI.Widget, {
return this.options.value;
},
update: function (props) {
update: function (props, shouldUpdate) {
if (BI.isObject(shouldUpdate)) {
props = shouldUpdate;
}
if ("value" in props) {
this.setValue(props.value);
}

Loading…
Cancel
Save