|
|
|
@ -12,6 +12,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
|
keywordGetter: BI.emptyFn, |
|
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
|
itemFormatter: BI.emptyFn, |
|
|
|
|
itemHeight: 24 |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -113,7 +114,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
var newValues = BI.map(values, function (i, v) { |
|
|
|
|
return { |
|
|
|
|
text: o.valueFormatter(v) || v, |
|
|
|
|
value: v |
|
|
|
|
value: v, |
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
if (BI.isKey(keyword)) { |
|
|
|
@ -125,7 +126,8 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
|
|
|
|
|
text: v.text, |
|
|
|
|
title: v.text, |
|
|
|
|
value: v.value, |
|
|
|
|
selected: src.type === BI.Selection.All |
|
|
|
|
selected: src.type === BI.Selection.All, |
|
|
|
|
...o.itemFormatter(v.value), |
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|