Skip to content

Commit

Permalink
fix: resolve bug with single file upload drag and drop
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdmlln committed Dec 2, 2024
1 parent 2ac4746 commit a2e0652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/input/T3FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function updateFiles(newValue: File[] | undefined) {
inputEl.value.files = dataTransfer.files
setValue(newValue)
setValue(!props.multiple ? newValue?.at(0) : newValue)
}
}
</script>

0 comments on commit a2e0652

Please sign in to comment.