|
|
@ -68151,6 +68151,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
baseClass: "bi-text-value-combo", |
|
|
|
baseClass: "bi-text-value-combo", |
|
|
|
height: 30, |
|
|
|
height: 30, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
|
|
|
|
text: "", |
|
|
|
value: "", |
|
|
|
value: "", |
|
|
|
el: {} |
|
|
|
el: {} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -68163,11 +68164,13 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.select_text_trigger", |
|
|
|
type: "bi.select_text_trigger", |
|
|
|
items: o.items, |
|
|
|
items: o.items, |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
text: o.value |
|
|
|
text: o.text, |
|
|
|
|
|
|
|
value: o.value |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.popup = BI.createWidget({ |
|
|
|
this.popup = BI.createWidget({ |
|
|
|
type: "bi.text_value_combo_popup", |
|
|
|
type: "bi.text_value_combo_popup", |
|
|
|
chooseType: o.chooseType, |
|
|
|
chooseType: o.chooseType, |
|
|
|
|
|
|
|
value: o.value, |
|
|
|
items: o.items |
|
|
|
items: o.items |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.popup.on(BI.TextValueComboPopup.EVENT_CHANGE, function () { |
|
|
|
this.popup.on(BI.TextValueComboPopup.EVENT_CHANGE, function () { |
|
|
@ -68188,9 +68191,6 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
maxHeight: 300 |
|
|
|
maxHeight: 300 |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (BI.isKey(o.value)) { |
|
|
|
|
|
|
|
this.setValue(o.value); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|