|
|
|
@ -104552,7 +104552,11 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
|
this.storeValue = BI.deepClone(v || {}); |
|
|
|
|
var obj = { |
|
|
|
|
type: BI.Selection.Multi, |
|
|
|
|
value: v || [] |
|
|
|
|
}; |
|
|
|
|
this.storeValue = BI.deepClone(obj); |
|
|
|
|
this._updateAllValue(); |
|
|
|
|
this._assertValue(this.storeValue); |
|
|
|
|
this.combo.setValue(this.storeValue); |
|
|
|
@ -104560,7 +104564,15 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
|
return BI.deepClone(this.storeValue); |
|
|
|
|
var obj = BI.deepClone(this.storeValue), self = this; |
|
|
|
|
if(obj.type === BI.Selection.All) { |
|
|
|
|
var values = []; |
|
|
|
|
BI.each(this.options.items, function (idx, item) { |
|
|
|
|
!BI.contains(self.storeValue.value, item.value) && values.push(item.value); |
|
|
|
|
}); |
|
|
|
|
return values; |
|
|
|
|
} |
|
|
|
|
return obj.value; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_populate: function () { |
|
|
|
|