We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file[]
Hi, the problem is that FileList is not an instance of Array and this will cause an issue.
wretch/src/addons/formData.ts
Line 15 in 411fb09
it can simply be fixed by changing the condition to:
if (value instanceof Array || value instanceof FileList) { // ...
The text was updated successfully, but these errors were encountered:
🏭 Support FileList objects in the form data addon
3582809
Solves #201
Hey @hamidreza4dev,
Thanks for raising the issue 🙇.
I just published v2.7.0 which now supports passing FileList instances to the form data addon.
v2.7.0
FileList
Sorry, something went wrong.
No branches or pull requests
Hi,
the problem is that FileList is not an instance of Array and this will cause an issue.
wretch/src/addons/formData.ts
Line 15 in 411fb09
it can simply be fixed by changing the condition to:
The text was updated successfully, but these errors were encountered: