@ -200,18 +200,6 @@ BI.Single = BI.inherit(BI.Widget, {
return this.options.value;
},
update: function (props, shouldUpdate) {
if (BI.isObject(shouldUpdate)) {
props = shouldUpdate;
}
if ("value" in props) {
this.setValue(props.value);
if ("text" in props) {
this.setText && this.setText(props.text);
destroyed: function () {
if (BI.isNotNull(this.showTimeout)) {
clearTimeout(this.showTimeout);
@ -366,9 +366,9 @@ BI.Layout = BI.inherit(BI.Widget, {
return child._update(this._getOptions(vnode), shouldUpdate);
if (shouldUpdate === null && !this._compare(oldVnode, vnode)) {
if (child.update) {
return child.update(this._getOptions(vnode));
// if (child.update) {
// return child.update(this._getOptions(vnode));
// }
return this.updateItemAt(index, vnode);