@ -344,6 +344,11 @@ BI.Editor = BI.inherit(BI.Single, {
return this.editor.isValid();
},
setValid: function (b) {
this.editor.setValid(b);
this._checkError();
destroyed: function () {
BI.Bubbles.remove(this.getName());
@ -138,6 +138,10 @@ BI.TextEditor = BI.inherit(BI.Widget, {
setValue: function (v) {
this.editor.setValue(v);