diff --git a/src/widget/editor/editor.search.js b/src/widget/editor/editor.search.js index 8eef89f2f..97e77c086 100644 --- a/src/widget/editor/editor.search.js +++ b/src/widget/editor/editor.search.js @@ -183,6 +183,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, { isValid: function () { return this.editor.isValid(); + }, + + showClearIcon: function () { + this.clear.visible(); + }, + + hideClearIcon: function () { + this.clear.invisible(); } }); BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";