diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index 587ddf802..7abbf77eb 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -153,7 +153,7 @@ o.hideWhenClickOutside && BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName()).unbind("mousewheel." + this.getName()); BI.EVENT_BLUR && o.hideWhenBlur && BI.Widget._renderEngine.createElement(window).unbind("blur." + this.getName()); - this.fireEvent(BI.Combo.EVENT_AFTER_HIDEVIEW); + this.fireEvent(BI.Combo.EVENT_AFTER_HIDEVIEW, e); }, _popupView: function (e) { diff --git a/src/case/combo/textvaluecombo/combo.textvalue.js b/src/case/combo/textvaluecombo/combo.textvalue.js index ac39d5158..8acb19eb0 100644 --- a/src/case/combo/textvaluecombo/combo.textvalue.js +++ b/src/case/combo/textvaluecombo/combo.textvalue.js @@ -88,7 +88,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { const value = this.popup.getValue(); this.setValue(value); if (o.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE) { - this.combo.hideView(); + this.combo.hideView(...args); this.fireEvent(BI.TextValueCombo.EVENT_CHANGE, ...args); } if (o.chooseType === BI.ButtonGroup.CHOOSE_TYPE_MULTI && BI.isEmptyArray(value)) { @@ -126,7 +126,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { listeners: [ { eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW, - action: (...args) => { + action: () => { changeTag = false; } }, {