|
|
|
@ -93,14 +93,8 @@ export class MultiSelectInsertNoBarCombo extends Single {
|
|
|
|
|
type: MultiSelectInsertTrigger.xtype, |
|
|
|
|
height: toPix(o.height, o.simple ? 1 : 2), |
|
|
|
|
text: o.text, |
|
|
|
|
// adapter: this.popup,
|
|
|
|
|
masker: { |
|
|
|
|
offset: { |
|
|
|
|
left: 0, |
|
|
|
|
top: 0, |
|
|
|
|
right: 0, |
|
|
|
|
bottom: SIZE_CONSANTS.LIST_ITEM_HEIGHT + 1, |
|
|
|
|
}, |
|
|
|
|
adapter: () => { |
|
|
|
|
return this.popup.getView(); |
|
|
|
|
}, |
|
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
|
itemsCreator: bind(this._itemsCreator4Trigger, this), |
|
|
|
@ -140,7 +134,7 @@ export class MultiSelectInsertNoBarCombo extends Single {
|
|
|
|
|
self._dataChange = true; |
|
|
|
|
}); |
|
|
|
|
this.getSearcher().getKeywordsLength() > 2000 && |
|
|
|
|
Msg.alert(i18nText("BI-Basic_Prompt"), i18nText("BI-Basic_Too_Much_Value_Get_Two_Thousand")); |
|
|
|
|
Msg.alert(i18nText("BI-Basic_Prompt"), i18nText("BI-Basic_Too_Much_Value_Get_Two_Thousand")); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -178,8 +172,6 @@ export class MultiSelectInsertNoBarCombo extends Single {
|
|
|
|
|
type: MultiSelectNoBarPopupView.xtype, |
|
|
|
|
ref() { |
|
|
|
|
self.popup = this; |
|
|
|
|
self.trigger.setAdapter(this); |
|
|
|
|
self.numberCounter.setAdapter(this); |
|
|
|
|
}, |
|
|
|
|
listeners: [ |
|
|
|
|
{ |
|
|
|
@ -263,13 +255,8 @@ export class MultiSelectInsertNoBarCombo extends Single {
|
|
|
|
|
|
|
|
|
|
this.numberCounter = createWidget({ |
|
|
|
|
type: MultiSelectCheckSelectedSwitcher.xtype, |
|
|
|
|
masker: { |
|
|
|
|
offset: { |
|
|
|
|
left: 0, |
|
|
|
|
top: 0, |
|
|
|
|
right: 0, |
|
|
|
|
bottom: SIZE_CONSANTS.LIST_ITEM_HEIGHT + 1, |
|
|
|
|
}, |
|
|
|
|
adapter: () => { |
|
|
|
|
return this.popup.getView(); |
|
|
|
|
}, |
|
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
|
itemsCreator: bind(this._itemsCreator4Trigger, this), |
|
|
|
|