@ -78,9 +78,9 @@ export class MultiSelectSearchLoader extends Widget {
} ,
itemsCreator ( op , callback ) {
self . storeValue &&
( op = extend ( op || { } , {
selectedValues : self . storeValue . value ,
} ) ) ;
( op = extend ( op || { } , {
selectedValues : self . storeValue . value ,
} ) ) ;
opts . itemsCreator ( op , ob => {
const keyword = ( ob . keyword = opts . keywordGetter ( ) ) ;
hasNext = ob . hasNext ;
@ -113,7 +113,7 @@ export class MultiSelectSearchLoader extends Widget {
el : {
chooseType : BI . ButtonGroup . CHOOSE _TYPE _MULTI ,
behaviors : {
redmark ( ) {
redmark ( ) {
return true ;
} ,
} ,
@ -123,7 +123,7 @@ export class MultiSelectSearchLoader extends Widget {
}
] ,
} ,
itemsCreator ( op , callback ) {
itemsCreator ( op , callback ) {
self . storeValue && ( op = BI . extend ( op || { } , {
selectedValues : self . storeValue . value ,
} ) ) ;
@ -146,13 +146,13 @@ export class MultiSelectSearchLoader extends Widget {
} ,
value : opts . value ,
height : "fill" ,
} ) ;
this . button _group . on ( Controller . EVENT _CHANGE , function ( ) {
} , this ) ;
this . button _group . on ( Controller . EVENT _CHANGE , function ( ) {
self . fireEvent ( Controller . EVENT _CHANGE , arguments ) ;
} ) ;
const searchLoaderEventChangeName = opts . allowSelectAll ? SelectList . EVENT _CHANGE : ListPane . EVENT _CHANGE ;
this . button _group . on ( searchLoaderEventChangeName , function ( ) {
this . button _group . on ( searchLoaderEventChangeName , function ( ) {
self . fireEvent ( MultiSelectSearchLoader . EVENT _CHANGE , arguments ) ;
} ) ;
}
@ -179,7 +179,7 @@ export class MultiSelectSearchLoader extends Widget {
isAllSelected ( ) {
const o = this . options ;
return o . allowSelectAll ? this . button _group . isAllSelected ( ) : false ;
}
@ -222,7 +222,7 @@ export class MultiSelectSearchLoader extends Widget {
if ( o . allowSelectAll ) {
return this . button _group . getValue ( ) ;
}
return {
type : ButtonGroup . CHOOSE _TYPE _MULTI ,
value : this . button _group . getValue ( ) ,