Skip to content
New issue

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

req object in changeDest() doesn't contain all fields. #146

Closed
georgemickael-b opened this issue Jul 5, 2015 · 2 comments
Closed

req object in changeDest() doesn't contain all fields. #146

georgemickael-b opened this issue Jul 5, 2015 · 2 comments

Comments

@georgemickael-b
Copy link

req object in changeDest contains only the fields that are present before the last file input field and not the fields which comes after it.

@LinusU
Copy link
Member

LinusU commented Jul 5, 2015

Thats how your browser works, it's impossible to fix in multer.

A fix for this is to use javascript on the client side to catch the submit event and instead submit using FormData and ordering the fields so that the input data is before any files.

@goowikns
Copy link

Is it possible to have an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants