|
|
|
@ -364,10 +364,16 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
this._assertValue(res); |
|
|
|
|
this.requesting = true; |
|
|
|
|
if (this.storeValue.type === res.type) { |
|
|
|
|
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey()); |
|
|
|
|
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) { |
|
|
|
|
return { |
|
|
|
|
text: o.valueFormatter(v) || v, |
|
|
|
|
value: v |
|
|
|
|
}; |
|
|
|
|
}), this.trigger.getKey()); |
|
|
|
|
var change = false; |
|
|
|
|
var map = self._makeMap(this.storeValue.value); |
|
|
|
|
BI.each(BI.concat(result.match, result.find), function (i, v) { |
|
|
|
|
var map = this._makeMap(this.storeValue.value); |
|
|
|
|
BI.each(BI.concat(result.match, result.find), function (i, obj) { |
|
|
|
|
var v = obj.value; |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|