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

can not get all values of multiple field with same name #305

Closed
yiminghe opened this issue Sep 23, 2014 · 3 comments
Closed

can not get all values of multiple field with same name #305

yiminghe opened this issue Sep 23, 2014 · 3 comments

Comments

@yiminghe
Copy link

html:

<form method='post' enctype='multipart/form-data'>
<select name="test[]" multiple>
<option value="t1" selected>v</option>
<option value="t2" selected>v2</option>
 </select>
<input type='file'>
</form>

expected

fields:{'test[]':['t1','t2']}

actual

fields:{'test[]':'t2'}
@pateljatin
Copy link

Hi,
I'm having the same issue here.
Is this going to be pulled in to the main stream?

Thanks,
Jatin

@gabeio
Copy link
Contributor

gabeio commented Jan 23, 2015

if you want to use his fix you can clone his build into the project's folder: node_modules/formidable it should act as if it was from npm. As for when this is going to be pulled is unknown the project owner has mostly moved on from this project I have been helping with most of the issues that crop up (if i can).

@tunnckoCore
Copy link
Member

This should be resolved by merged #380. It may lend in the next release.

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

Successfully merging a pull request may close this issue.

5 participants