wave-ui 3.4.5 → 3.4.6

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.
@@ -3073,7 +3073,7 @@ const xl = {
3073
3073
  computed: {
3074
3074
  attrs() {
3075
3075
  const { class: e, ...t } = this.$attrs;
3076
- return t;
3076
+ return this.type === "file" && !this.inputFiles.length && (t.value = null), t;
3077
3077
  },
3078
3078
  listeners() {
3079
3079
  const { input: e, focus: t, blur: l, ...a } = this.$attrs;
@@ -3190,7 +3190,7 @@ const xl = {
3190
3190
  },
3191
3191
  watch: {
3192
3192
  modelValue(e) {
3193
- this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1);
3193
+ this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
3194
3194
  }
3195
3195
  }
3196
3196
  }, Pl = /* @__PURE__ */ v(xl, [["render", Ll]]);