Skip to content

Commit e07dad6

Browse files
committed
chore: cl, version, build
1 parent 9c79444 commit e07dad6

9 files changed

+36
-14
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v2.6.11
2+
3+
> `2024-11-23`
4+
5+
### 🐞 Bug Fixes
6+
- Don't throw error when endpoint type `options` is undefined
7+
18
## v2.6.10
29

310
> `2024-09-16`

dist/multiselect.global.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/multiselect.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -908,9 +908,14 @@ function useOptions (props, context, dep)
908908
}
909909

910910
// Transforming an plain arrays to an array of objects
911-
uo = uo.map((val) => {
912-
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
913-
});
911+
/* istanbul ignore else */
912+
if (uo && Array.isArray(uo)) {
913+
uo = uo.map((val) => {
914+
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
915+
});
916+
} else {
917+
uo = [];
918+
}
914919

915920
return uo
916921
};

dist/multiselect.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/multiselect.mjs

+8-3
Original file line numberDiff line numberDiff line change
@@ -908,9 +908,14 @@ function useOptions (props, context, dep)
908908
}
909909

910910
// Transforming an plain arrays to an array of objects
911-
uo = uo.map((val) => {
912-
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
913-
});
911+
/* istanbul ignore else */
912+
if (uo && Array.isArray(uo)) {
913+
uo = uo.map((val) => {
914+
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
915+
});
916+
} else {
917+
uo = [];
918+
}
914919

915920
return uo
916921
};

dist/multiselect.vue2.global.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/multiselect.vue2.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -908,9 +908,14 @@ function useOptions (props, context, dep)
908908
}
909909

910910
// Transforming an plain arrays to an array of objects
911-
uo = uo.map((val) => {
912-
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
913-
});
911+
/* istanbul ignore else */
912+
if (uo && Array.isArray(uo)) {
913+
uo = uo.map((val) => {
914+
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
915+
});
916+
} else {
917+
uo = [];
918+
}
914919

915920
return uo
916921
};

dist/multiselect.vue2.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vueform/multiselect",
3-
"version": "2.6.10",
3+
"version": "2.6.11",
44
"private": false,
55
"description": "Vue 3 multiselect component with single select, multiselect and tagging options.",
66
"license": "MIT",

0 commit comments

Comments
 (0)