From 0dc8780fa0b0e254552e699507f67febf42b8f7f Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 7 Jul 2017 15:36:46 +0800 Subject: [PATCH] update --- bi/widget.js | 2 ++ docs/widget.js | 2 ++ src/widget/downlist/combo.downlist.js | 2 ++ 3 files changed, 6 insertions(+) diff --git a/bi/widget.js b/bi/widget.js index 7edbfec95..89c141e2c 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 7edbfec95..89c141e2c 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 5f6a6b854..303395341 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,