diff --git a/bi/widget.js b/bi/widget.js index 7edbfec952..89c141e2ca 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -3497,6 +3497,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { items: [], adjustLength: 0, direction: "bottom", + trigger: "click", el: {} }) }, @@ -3524,6 +3525,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { this.downlistcombo = BI.createWidget({ element: this, type: 'bi.combo', + trigger: o.trigger, isNeedAdjustWidth: false, adjustLength: o.adjustLength, direction: o.direction, diff --git a/docs/widget.js b/docs/widget.js index 7edbfec952..89c141e2ca 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -3497,6 +3497,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { items: [], adjustLength: 0, direction: "bottom", + trigger: "click", el: {} }) }, @@ -3524,6 +3525,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { this.downlistcombo = BI.createWidget({ element: this, type: 'bi.combo', + trigger: o.trigger, isNeedAdjustWidth: false, adjustLength: o.adjustLength, direction: o.direction, diff --git a/src/widget/downlist/combo.downlist.js b/src/widget/downlist/combo.downlist.js index 5f6a6b8541..303395341c 100644 --- a/src/widget/downlist/combo.downlist.js +++ b/src/widget/downlist/combo.downlist.js @@ -10,6 +10,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { items: [], adjustLength: 0, direction: "bottom", + trigger: "click", el: {} }) }, @@ -37,6 +38,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { this.downlistcombo = BI.createWidget({ element: this, type: 'bi.combo', + trigger: o.trigger, isNeedAdjustWidth: false, adjustLength: o.adjustLength, direction: o.direction,