Closed GMKR closed 2 months ago
Happy to open a pull request to support FileList? We only need to transform it as array before sending to the API
Can you test with:
pnpm add https://pkg.pr.new/nuxt-hub/core/@nuxthub/core@260
And confirm it works?
Describe the bug useUpload function is throwing error
H3Error: Missing files
whenFileList
is passed as inputSteps to reproduce Steps to reproduce the behavior:
useFileDialog
onChange
functionH3Error: Missing files
Expected behavior useUpload should work with FileList as input without
Array.from
conversion