wave-ui 1.67.2 → 1.67.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "1.67.2",
3
+ "version": "1.67.3",
4
4
  "description": "An emerging UI framework for Vue.js (2 & 3) with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "homepage": "https://antoniandre.github.io/wave-ui",
@@ -314,8 +314,10 @@ export default {
314
314
 
315
315
  return file
316
316
  }))
317
- this.$emit('update:modelValue', this.inputFiles)
318
- this.$emit('input', this.inputFiles)
317
+
318
+ const filesPayload = this.multiple ? this.inputFiles : this.inputFiles[0]
319
+ this.$emit('update:modelValue', filesPayload)
320
+ this.$emit('input', filesPayload)
319
321
  },
320
322
 
321
323
  // For file input.