Skip to content

Commit

Permalink
[mantine.dev] Fix headers structure in use-form documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Nov 27, 2024
1 parent a9b40f5 commit f65cdaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/mantine.dev/src/pages/form/use-form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function Demo() {
}
```

## onSubmitPreventDefault option
### onSubmitPreventDefault option

By default, `event.preventDefault()` is called on the form `onSubmit` handler.
If you want to change this behavior, you can pass `onSubmitPreventDefault` option
Expand Down

0 comments on commit f65cdaa

Please sign in to comment.