Browse Source

BI-18690 insert_combo默认值

es6
windy 6 years ago
parent
commit
d7e19bfaa2
  1. 2
      demo/js/widget/multiselect/demo.multi_select_combo.js
  2. 4
      dist/bundle.js
  3. 2
      dist/demo.js
  4. 4
      dist/widget.js
  5. 2
      src/widget/multiselect/multiselect..insert.combo.js

2
demo/js/widget/multiselect/demo.multi_select_combo.js

@ -9,7 +9,7 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, {
_createMultiSelectCombo: function () {
var self = this;
var widget = BI.createWidget({
type: "bi.multi_select_combo",
type: "bi.multi_select_insert_combo",
itemsCreator: BI.bind(this._itemsCreator, this),
width: 200,
value: {

4
dist/bundle.js vendored

@ -97192,7 +97192,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
self.trigger.getSearcher().setState(self.storeValue);
self.trigger.getCounter().setButtonChecked(self.storeValue);
};
this.storeValue = {};
this.storeValue = o.value || {};
// 标记正在请求数据
this.requesting = false;
@ -109416,7 +109416,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY
},
getKey: function () {
return this.yearEditor.getState() + "-" + this.monthEditor.getState();
return this.yearEditor.getValue() + "-" + this.monthEditor.getValue();
}
});
BI.DynamicYearMonthTrigger.EVENT_VALID = "EVENT_FOCUS";

2
dist/demo.js vendored

@ -12712,7 +12712,7 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, {
_createMultiSelectCombo: function () {
var self = this;
var widget = BI.createWidget({
type: "bi.multi_select_combo",
type: "bi.multi_select_insert_combo",
itemsCreator: BI.bind(this._itemsCreator, this),
width: 200,
value: {

4
dist/widget.js vendored

@ -10045,7 +10045,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
self.trigger.getSearcher().setState(self.storeValue);
self.trigger.getCounter().setButtonChecked(self.storeValue);
};
this.storeValue = {};
this.storeValue = o.value || {};
// 标记正在请求数据
this.requesting = false;
@ -22269,7 +22269,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY
},
getKey: function () {
return this.yearEditor.getState() + "-" + this.monthEditor.getState();
return this.yearEditor.getValue() + "-" + this.monthEditor.getValue();
}
});
BI.DynamicYearMonthTrigger.EVENT_VALID = "EVENT_FOCUS";

2
src/widget/multiselect/multiselect..insert.combo.js

@ -23,7 +23,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
self.trigger.getSearcher().setState(self.storeValue);
self.trigger.getCounter().setButtonChecked(self.storeValue);
};
this.storeValue = {};
this.storeValue = o.value || {};
// 标记正在请求数据
this.requesting = false;

Loading…
Cancel
Save