forked from remix-run/remix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(remix-react): fix submitter serialization
Bring `<Form>` submissions in line with the spec with respect to how and where form submitters are serialized within the data set: 1. Ensure they are serialized in tree order (i.e. where they appear in the DOM) 2. Ensure image inputs are serialized correctly (i.e. separate x and y coordinate entries, rather than a single empty entry) 3. Don't send multiple entries in older WebKit References: remix-run#4342 Spec: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-form-data-set
- Loading branch information
Showing
2 changed files
with
68 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters