-
Notifications
You must be signed in to change notification settings - Fork 23
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
No need for [] when skipping index for an array #28
Comments
To reproduce: Go to https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_checkbox then use this HTML
that will yield test=Bike&test=Bike2&test=Bike3&test=Bike4 |
@binarykitchen I'm not sure when I will be available to look into this. Is it an important issue for you? Do you think the change would be safe for packages using this package? |
@iambumblehead i think this will become a breaking change. recommend a new version with that behaviour and to add new options for those who want the old behaviour. yep, important here. i could do a PR today to speeden things up. would you accept that? |
@binarykitchen that's very kind of you. Yes, a PR with a test would be accepted. |
@iambumblehead lol, forget it. discovered a hidden parameter |
I'm sorry for your trouble @binarykitchen. yes it should be documented. |
When I have a multi-value attribute like
and run this through
formurlencoded(formData, { skipIndex: true })
then I expect this to be
but not
The text was updated successfully, but these errors were encountered: