Skip to content

Commit

Permalink
add note about file uploads (#960)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
brenelz and kodiakhq[bot] authored Nov 24, 2024
1 parent 7c16cde commit 8de3f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/solid-router/concepts/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ export function MyComponent() {
}
```

**Note:** If you are uploading files make sure you include `enctype="multipart/form-data"` to your `<form>` element.

## Error handling

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

0 comments on commit 8de3f74

Please sign in to comment.