|
|
@ -15,7 +15,6 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, { |
|
|
|
allowInsertValue: true, |
|
|
|
allowInsertValue: true, |
|
|
|
isNeedAdjustWidth: true, |
|
|
|
isNeedAdjustWidth: true, |
|
|
|
text: "", |
|
|
|
text: "", |
|
|
|
defaultText: "", |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -35,7 +34,6 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, { |
|
|
|
watermark: o.watermark, |
|
|
|
watermark: o.watermark, |
|
|
|
height: o.height - (o.simple ? 1 : 2), |
|
|
|
height: o.height - (o.simple ? 1 : 2), |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
// adapter: this.popup,
|
|
|
|
|
|
|
|
masker: { |
|
|
|
masker: { |
|
|
|
offset: { |
|
|
|
offset: { |
|
|
|
left: 0, |
|
|
|
left: 0, |
|
|
@ -77,8 +75,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, { |
|
|
|
itemsCreator: o.itemsCreator |
|
|
|
itemsCreator: o.itemsCreator |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
value: { value: o.value || {} } |
|
|
|
value: this.storeValue |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.combo = BI.createWidget({ |
|
|
|
this.combo = BI.createWidget({ |
|
|
@ -142,7 +139,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, { |
|
|
|
maxWidth: o.isNeedAdjustWidth ? "auto" : 500, |
|
|
|
maxWidth: o.isNeedAdjustWidth ? "auto" : 500, |
|
|
|
}, |
|
|
|
}, |
|
|
|
isNeedAdjustWidth: o.isNeedAdjustWidth, |
|
|
|
isNeedAdjustWidth: o.isNeedAdjustWidth, |
|
|
|
value: { value: o.value || {} }, |
|
|
|
value: this.storeValue, |
|
|
|
hideChecker: function (e) { |
|
|
|
hideChecker: function (e) { |
|
|
|
return triggerBtn.element.find(e.target).length === 0 && |
|
|
|
return triggerBtn.element.find(e.target).length === 0 && |
|
|
|
self.numberCounter.element.find(e.target).length === 0; |
|
|
|
self.numberCounter.element.find(e.target).length === 0; |
|
|
|