vue3-extended-multiselect 1.6.3 → 1.6.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Patch notes
2
2
 
3
- Current `vue3-extended-multiselect` version: **1.6.3**
3
+ Current `vue3-extended-multiselect` version: **1.6.4**
4
4
 
5
5
  ***
6
6
 
@@ -253,4 +253,8 @@ Adding descriptive comments for some types in typings.
253
253
 
254
254
  ### 1.6.3 (2023-02-02)
255
255
 
256
- * Fixing bug with duplicate options when using an external loader.
256
+ * Fixing bug with duplicate options when using an external loader.
257
+
258
+ ### 1.6.4 (2023-02-02)
259
+
260
+ * Fixing bug with duplication of selected and found options.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vue3-extended-multiselect v1.6.3
1
+ # vue3-extended-multiselect v1.6.4
2
2
 
3
3
  ***
4
4
 
package/jest.config.js CHANGED
@@ -5,7 +5,7 @@ module.exports = {
5
5
  },
6
6
  expand: true,
7
7
  displayName: {
8
- name: "vue3-extended-multiselect 1.6.3",
8
+ name: "vue3-extended-multiselect 1.6.4",
9
9
  color: "bgGreen",
10
10
  },
11
11
  extraGlobals: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",
@@ -866,7 +866,7 @@ const lookForObjectOptions = (option) => {
866
866
  if (Array.isArray(option) && !!option.length) {
867
867
  calculatedOptionLabel = option.join(", ");
868
868
  } else {
869
- const hasLabel = Object.getOwnPropertyNames(option).includes("label");
869
+ const hasLabel = Object.getOwnPropertyNames(option).includes(label.value);
870
870
 
871
871
  if (hasLabel) {
872
872
  calculatedOptionLabel = typeof option[label.value] === "object"
@@ -257,7 +257,7 @@ import ExtendedMultiselectToggle from "./ExtendedMultiselectToggle.vue";
257
257
 
258
258
  /**
259
259
  * @author Ridiger Daniil Dmitrievich, 2022
260
- * @version 1.6.3
260
+ * @version 1.6.4
261
261
  */
262
262
 
263
263
  const props = defineProps({