From 1e6ece11a2a8b826da980dea6903481ed5a5da1c Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 2 Sep 2019 14:55:24 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-21332=20fix:=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E4=B8=80=E4=B8=8B=E9=BB=98=E8=AE=A4=E4=BC=A0value=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + dist/2.0/fineui.ie.js | 7 +++++++ dist/2.0/fineui.js | 7 +++++++ dist/bundle.ie.js | 7 +++++++ dist/bundle.js | 7 +++++++ dist/case.js | 1 + dist/fineui.ie.js | 7 +++++++ dist/fineui.js | 7 +++++++ dist/fineui_without_jquery_polyfill.js | 6 ++++++ dist/widget.js | 6 ++++++ .../treevaluechooser/combo.listtreevaluechooser.js | 1 + .../treevaluechooser/combo.treevaluechooser.insert.js | 1 + src/component/treevaluechooser/combo.treevaluechooser.js | 1 + src/component/valuechooser/combo.valuechooser.insert.js | 1 + src/component/valuechooser/combo.valuechooser.js | 1 + src/component/valuechooser/pane.valuechooser.js | 1 + 16 files changed, 62 insertions(+) diff --git a/changelog.md b/changelog.md index 5bc8e600e4..0d84d3b1be 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2019-08) +- 修复valueChooser系列不支持value属性的问题 - 更新了若干icon-font的样式 - 修复了单选树同步搜索状态下父节点前可能没有展开符号的问题 - 单选树可展示并选中不存在的值 diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index ef3d7742b9..b56d2a2ffc 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -54754,6 +54754,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, @@ -88537,6 +88538,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -88624,6 +88626,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -88712,6 +88715,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -88942,6 +88946,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89036,6 +89041,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89124,6 +89130,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index 7f1f7b5e37..3be2bd50ca 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -55158,6 +55158,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, @@ -88941,6 +88942,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -89028,6 +89030,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89116,6 +89119,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89346,6 +89350,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89440,6 +89445,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89528,6 +89534,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index ef3d7742b9..b56d2a2ffc 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -54754,6 +54754,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, @@ -88537,6 +88538,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -88624,6 +88626,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -88712,6 +88715,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -88942,6 +88946,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89036,6 +89041,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89124,6 +89130,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/bundle.js b/dist/bundle.js index 7f1f7b5e37..3be2bd50ca 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -55158,6 +55158,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, @@ -88941,6 +88942,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -89028,6 +89030,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89116,6 +89119,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89346,6 +89350,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89440,6 +89445,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89528,6 +89534,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/case.js b/dist/case.js index 76304cf00d..3f6f8c41d9 100644 --- a/dist/case.js +++ b/dist/case.js @@ -2730,6 +2730,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 0dcd4d2d34..36310d834e 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -54999,6 +54999,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, @@ -88782,6 +88783,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -88869,6 +88871,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -88957,6 +88960,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89187,6 +89191,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89281,6 +89286,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89369,6 +89375,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/fineui.js b/dist/fineui.js index 0d4d63c4f1..79c1c1d00a 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -55403,6 +55403,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, { ref: function (_ref) { self.changeIcon = _ref; }, + disableSelected: true, iconCls: "auto-color-icon", width: 24, iconWidth: 16, @@ -89186,6 +89187,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -89273,6 +89275,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89361,6 +89364,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -89591,6 +89595,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89685,6 +89690,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -89773,6 +89779,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 466eb1ea09..3c51d538bd 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -71486,6 +71486,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -71573,6 +71574,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -71661,6 +71663,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -71891,6 +71894,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -71985,6 +71989,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -72073,6 +72078,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/dist/widget.js b/dist/widget.js index ad6aa5d23f..4b3828e126 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -26597,6 +26597,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), @@ -26684,6 +26685,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -26772,6 +26774,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), @@ -27002,6 +27005,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -27096,6 +27100,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, @@ -27184,6 +27189,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) }); diff --git a/src/component/treevaluechooser/combo.listtreevaluechooser.js b/src/component/treevaluechooser/combo.listtreevaluechooser.js index c817cd9394..383b3184b6 100644 --- a/src/component/treevaluechooser/combo.listtreevaluechooser.js +++ b/src/component/treevaluechooser/combo.listtreevaluechooser.js @@ -27,6 +27,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser, type: "bi.multi_tree_list_combo", element: this, text: o.text, + value: o.value, watermark: o.watermark, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), diff --git a/src/component/treevaluechooser/combo.treevaluechooser.insert.js b/src/component/treevaluechooser/combo.treevaluechooser.insert.js index e8314110f0..2a8b0ca546 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.insert.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.insert.js @@ -26,6 +26,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_insert_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), diff --git a/src/component/treevaluechooser/combo.treevaluechooser.js b/src/component/treevaluechooser/combo.treevaluechooser.js index 84b93f8761..662f22385a 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.js @@ -26,6 +26,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, { this.combo = BI.createWidget({ type: "bi.multi_tree_combo", text: o.text, + value: o.value, watermark: o.watermark, element: this, itemsCreator: BI.bind(this._itemsCreator, this), diff --git a/src/component/valuechooser/combo.valuechooser.insert.js b/src/component/valuechooser/combo.valuechooser.insert.js index 0c155ea1ad..c1f290c3a9 100644 --- a/src/component/valuechooser/combo.valuechooser.insert.js +++ b/src/component/valuechooser/combo.valuechooser.insert.js @@ -25,6 +25,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_insert_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, diff --git a/src/component/valuechooser/combo.valuechooser.js b/src/component/valuechooser/combo.valuechooser.js index d8c3454daf..312f4c0e49 100644 --- a/src/component/valuechooser/combo.valuechooser.js +++ b/src/component/valuechooser/combo.valuechooser.js @@ -29,6 +29,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, { type: "bi.multi_select_combo", element: this, text: o.text, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this), width: o.width, diff --git a/src/component/valuechooser/pane.valuechooser.js b/src/component/valuechooser/pane.valuechooser.js index 9e7a9e0963..143f8f8c93 100644 --- a/src/component/valuechooser/pane.valuechooser.js +++ b/src/component/valuechooser/pane.valuechooser.js @@ -23,6 +23,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { this.list = BI.createWidget({ type: "bi.multi_select_list", element: this, + value: o.value, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: BI.bind(this._valueFormatter, this) });