|
|
|
@ -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), |
|
|
|
@ -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), |
|
|
|
|