@ -13,7 +13,8 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
height: 24,
attributes: {
tabIndex: 0
}
},
allowEdit: true
});
@ -35,6 +36,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this.trigger = BI.createWidget({
type: "bi.multi_select_trigger",
allowEdit: o.allowEdit,
height: o.height,
text: o.text,
// adapter: this.popup,
@ -14,7 +14,8 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
@ -35,6 +36,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
allowNoSelect: o.allowNoSelect,
valueFormatter: o.valueFormatter,
itemsCreator: function (op, callback) {
o.itemsCreator(op, function (res) {
@ -14,7 +14,8 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
@ -34,6 +35,7 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
type: "bi.single_select_trigger",
@ -23,7 +23,8 @@ BI.SingleSelectTrigger = BI.inherit(BI.Trigger, {
switcher: {},
adapter: null,
masker: {}
masker: {},
@ -75,6 +76,20 @@ BI.SingleSelectTrigger = BI.inherit(BI.Trigger, {
width: 24
}]
!o.allowEdit && BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.layout"
left: 0,
right: 24,
top: 0,
bottom: 0
getSearcher: function () {