Is incomingForm config 'multiples' necessary?
See original GitHub issueI think multiples=true
is the correct behavior and multiples = false
incorrect when I upload multiple files in an input tag because of incorrect info in parsed files object.
I don’t think user have to set multiples. The parsed files object should always give right info, either depending on user upload or always use an array for a named input.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Do stuff with multiple files when uploading them using node ...
The handler: var form = new formidable.IncomingForm(), files = [], fields = []; form.uploadDir = ...
Read more >Uploading Files using Formidable in a Node.js Application
But if we are uploading some kind of files, we need to specify the enctype attribute ... Basic Configuration form.multiples = true; form....
Read more >Formidable - npm
There are multiple variants to do this, but Formidable just need ... const form = new IncomingForm(options); // or const { Formidable } ......
Read more >Set form matching - Dynamics 365 Marketing - Microsoft Learn
These will be selected by default each time a user creates a new marketing form, but users can then customize the setting as...
Read more >formidable.IncomingForm.parse JavaScript and Node.js code ...
IncomingForm.parse(Showing top 15 results out of 576) ... form.multiples = false; form.parse(req, function (err, fields, data) { if (err) { err.type ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
npm i node-formidable/formidable#3.x
@VictorJozwicki yes, not yet. It’s easy option and there’re bigger problems, haha.