Skip to content

Commit

Permalink
chore: cl, version, build
Browse files Browse the repository at this point in the history
  • Loading branch information
adamberecz committed Nov 23, 2024
1 parent 9c79444 commit e07dad6
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v2.6.11

> `2024-11-23`
### 🐞 Bug Fixes
- Don't throw error when endpoint type `options` is undefined

## v2.6.10

> `2024-09-16`
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.global.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions dist/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -908,9 +908,14 @@ function useOptions (props, context, dep)
}

// Transforming an plain arrays to an array of objects
uo = uo.map((val) => {
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
});
/* istanbul ignore else */
if (uo && Array.isArray(uo)) {
uo = uo.map((val) => {
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
});
} else {
uo = [];
}

return uo
};
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.min.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions dist/multiselect.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -908,9 +908,14 @@ function useOptions (props, context, dep)
}

// Transforming an plain arrays to an array of objects
uo = uo.map((val) => {
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
});
/* istanbul ignore else */
if (uo && Array.isArray(uo)) {
uo = uo.map((val) => {
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
});
} else {
uo = [];
}

return uo
};
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.vue2.global.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions dist/multiselect.vue2.js
Original file line number Diff line number Diff line change
Expand Up @@ -908,9 +908,14 @@ function useOptions (props, context, dep)
}

// Transforming an plain arrays to an array of objects
uo = uo.map((val) => {
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
});
/* istanbul ignore else */
if (uo && Array.isArray(uo)) {
uo = uo.map((val) => {
return typeof val === 'object' ? val : { [valueProp.value]: val, [trackBy.value[0]]: val, [label.value]: val}
});
} else {
uo = [];
}

return uo
};
Expand Down
2 changes: 1 addition & 1 deletion dist/multiselect.vue2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vueform/multiselect",
"version": "2.6.10",
"version": "2.6.11",
"private": false,
"description": "Vue 3 multiselect component with single select, multiselect and tagging options.",
"license": "MIT",
Expand Down

0 comments on commit e07dad6

Please sign in to comment.