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

serialize forms with multiple, non-unique array elements #556

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

leastbad
Copy link
Contributor

Type of PR (feature, enhancement, bug fix, etc.)

Bug fix

Description

Serialized forms can now contain arrays with non-unique values.

Fixes #555

Why should this be added

As @thewatts demonstrated the serializeForm method was rejecting non-unique form array values. This created an outcome different from what the client-side FormData object produces, and different from what you'd get if you submitted the form to ActionDispatch.

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing
  • This is not a documentation update

@leastbad leastbad added bug Something isn't working javascript Pull requests that update Javascript code labels Oct 13, 2021
@leastbad leastbad added this to the 3.5 milestone Oct 13, 2021
@leastbad leastbad merged commit 5cd0d8a into stimulusreflex:master Oct 13, 2021
@leastbad leastbad deleted the non_unique_params branch October 13, 2021 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reflex form parameter lists are uniqued
3 participants