diff --git a/package.json b/package.json index ef5a3210e..a616a7f53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220606145352", + "version": "2.0.20220608000227", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", diff --git a/src/widget/downlist/combo.downlist.js b/src/widget/downlist/combo.downlist.js index b32fab79f..3895ff6b8 100644 --- a/src/widget/downlist/combo.downlist.js +++ b/src/widget/downlist/combo.downlist.js @@ -14,7 +14,8 @@ BI.DownListCombo = BI.inherit(BI.Widget, { stopPropagation: false, el: {}, minWidth: 140, - maxHeight: 1000 + maxHeight: 1000, + destroyWhenHide: false }); }, @@ -49,6 +50,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { direction: o.direction, belowMouse: o.belowMouse, stopPropagation: o.stopPropagation, + destroyWhenHide: o.destroyWhenHide, el: BI.createWidget(o.el, { type: "bi.icon_trigger", extraCls: o.iconCls, diff --git a/src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js b/src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js index cb7fddf9a..a3def7ccf 100644 --- a/src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js +++ b/src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js @@ -35,7 +35,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { this.trigger = BI.createWidget({ type: "bi.search_multi_select_trigger", text: o.text, - height: o.height - 2, + height: o.height - (o.simple ? 1 : 2), // adapter: this.popup, masker: { offset: { @@ -111,7 +111,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { this.combo = BI.createWidget({ type: "bi.combo", - cls: "bi-border bi-border-radius", + cls: o.simple ? "bi-border-bottom" : "bi-border bi-border-radius", toggle: false, container: o.container, el: this.trigger,