@ -93,14 +93,8 @@ export class MultiSelectInsertNoBarCombo extends Single {
type : MultiSelectInsertTrigger . xtype ,
type : MultiSelectInsertTrigger . xtype ,
height : toPix ( o . height , o . simple ? 1 : 2 ) ,
height : toPix ( o . height , o . simple ? 1 : 2 ) ,
text : o . text ,
text : o . text ,
// adapter: this.popup,
adapter : ( ) => {
masker : {
return this . popup . getView ( ) ;
offset : {
left : 0 ,
top : 0 ,
right : 0 ,
bottom : SIZE _CONSANTS . LIST _ITEM _HEIGHT + 1 ,
} ,
} ,
} ,
valueFormatter : o . valueFormatter ,
valueFormatter : o . valueFormatter ,
itemsCreator : bind ( this . _itemsCreator4Trigger , this ) ,
itemsCreator : bind ( this . _itemsCreator4Trigger , this ) ,
@ -140,7 +134,7 @@ export class MultiSelectInsertNoBarCombo extends Single {
self . _dataChange = true ;
self . _dataChange = true ;
} ) ;
} ) ;
this . getSearcher ( ) . getKeywordsLength ( ) > 2000 &&
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 ,
type : MultiSelectNoBarPopupView . xtype ,
ref ( ) {
ref ( ) {
self . popup = this ;
self . popup = this ;
self . trigger . setAdapter ( this ) ;
self . numberCounter . setAdapter ( this ) ;
} ,
} ,
listeners : [
listeners : [
{
{
@ -263,13 +255,8 @@ export class MultiSelectInsertNoBarCombo extends Single {
this . numberCounter = createWidget ( {
this . numberCounter = createWidget ( {
type : MultiSelectCheckSelectedSwitcher . xtype ,
type : MultiSelectCheckSelectedSwitcher . xtype ,
masker : {
adapter : ( ) => {
offset : {
return this . popup . getView ( ) ;
left : 0 ,
top : 0 ,
right : 0 ,
bottom : SIZE _CONSANTS . LIST _ITEM _HEIGHT + 1 ,
} ,
} ,
} ,
valueFormatter : o . valueFormatter ,
valueFormatter : o . valueFormatter ,
itemsCreator : bind ( this . _itemsCreator4Trigger , this ) ,
itemsCreator : bind ( this . _itemsCreator4Trigger , this ) ,