Skip to content

Commit 8de3f74

Browse files
add note about file uploads (#960)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 7c16cde commit 8de3f74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/routes/solid-router/concepts/actions.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ export function MyComponent() {
137137
}
138138
```
139139

140+
**Note:** If you are uploading files make sure you include `enctype="multipart/form-data"` to your `<form>` element.
141+
140142
## Error handling
141143

142144
Rather than throwing errors, it is recommended to return them from actions.

0 commit comments

Comments
 (0)