|
|
|
@ -181,15 +181,11 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
return o.valueFormatter(v); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (o.itemsCreator === BI.emptyFn) { |
|
|
|
|
var result = BI.find(o.items, function (i, item) { |
|
|
|
|
return item.value === v; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return BI.isNotNull(result) ? result.text : o.text; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return v; |
|
|
|
|
return BI.isNotNull(result) ? result.text : (o.text ?? v); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_getShowText: function () { |
|
|
|
|