@mozaic-ds/vue 0.35.0-beta.3 → 0.35.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mozaic-vue.adeo.umd.js +16 -15
- package/dist/mozaic-vue.common.js +16 -15
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.umd.js +16 -15
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +2 -2
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/autocomplete/MAutocomplete.vue +1 -0
- package/src/components/dropdown/MDropdown.vue +5 -3
package/package.json
CHANGED
|
@@ -261,9 +261,11 @@ export default {
|
|
|
261
261
|
getSelectedItems(val) {
|
|
262
262
|
const value = val ? val : this.listboxValue;
|
|
263
263
|
|
|
264
|
-
const selectedItems = this.items.filter((item) =>
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
const selectedItems = this.items.filter((item) => {
|
|
265
|
+
return this.multiple
|
|
266
|
+
? value.includes(item[this.dataValueExpr])
|
|
267
|
+
: value === item[this.dataValueExpr];
|
|
268
|
+
});
|
|
267
269
|
|
|
268
270
|
return selectedItems;
|
|
269
271
|
},
|