We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff84b5 commit 843fe0eCopy full SHA for 843fe0e
contributors.yml
@@ -16,6 +16,7 @@
16
- andreiduca
17
- antonmontrezor
18
- appden
19
+- arjunyel
20
- arnassavickas
21
- aroyan
22
- avipatel97
docs/hooks/use-submit.md
@@ -99,7 +99,7 @@ submit([
99
The default behavior if you submit a JSON object is to encode the data into `FormData`:
100
101
```tsx
102
-submit({ key: "value" });
+submit({ key: "value", { encType: "application/x-www-form-urlencoded" });
103
// will serialize into request.formData() in your action
104
```
105
0 commit comments