vue3-extended-multiselect 1.1.4 → 1.1.5

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.1.4**
3
+ Current `vue3-extended-multiselect` version: **1.1.5**
4
4
 
5
5
  ***
6
6
 
@@ -114,4 +114,7 @@ Adding descriptive comments for some types in typings.
114
114
 
115
115
  ### 1.1.4 (2022-13-11)
116
116
  * Adding "optionCreateLabel" to expose as utility.
117
- * Fix bug with wrong name of label field
117
+ * Fix bug with wrong name of label field
118
+
119
+ ### 1.1.5 (2022-13-11)
120
+ * Fix bug with empty raw options list when using async loader.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vue3-extended-multiselect v1.1.4
1
+ # vue3-extended-multiselect v1.1.5
2
2
 
3
3
  ***
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",
@@ -1040,6 +1040,8 @@ const internalLoading = computed(() => {
1040
1040
  * @returns {Array} options
1041
1041
  */
1042
1042
  const restrictedOptions = computed(() => {
1043
+ if (!rawOptions.value) return [];
1044
+
1043
1045
  return optionsCountRestriction.value
1044
1046
  ? rawOptions.value.filter((option, index) => index + 1 <= optionsCountRestriction.value)
1045
1047
  : rawOptions.value;