Skip to content

Commit bfeef95

Browse files
sebmarkbagefacebook-github-bot
authored andcommitted
Insert temporary input node to polyfill submitter argument in FormData (#26714)
Summary: Insert temporary input node to polyfill submitter argument in FormData. This works for buttons too and fixes a bug where the type attribute wasn't reset. I also exclude the submitter if it's a function action. This ensures that we don't include the generated "name" when the action is a server action. Conceptually that name doesn't exist. DiffTrain build for commit facebook/react@5e5342b. Changelog: [Internal] Reviewed By: kassens Differential Revision: D45240323 fbshipit-source-id: 3e9a8076942abdc24cf25b9dd9f130727ec3c0fd
1 parent 1b41b54 commit bfeef95

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native/Libraries/Renderer

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9c58a0b6475509f9124da578207aa0d3b7364035
1+
5e5342b10059bf90738a8d9171fcf0af9d9d5d51

0 commit comments

Comments
 (0)