mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 07:35:38 -05:00
Update action_form.md
This commit is contained in:
@@ -55,6 +55,10 @@ let on_submit = move |ev| {
|
||||
ev.prevent_default();
|
||||
}
|
||||
}
|
||||
|
||||
// ... add the `submit` handler to an `ActionForm`
|
||||
|
||||
<ActionForm on:submit:capture=on_submit /* ... */>
|
||||
```
|
||||
|
||||
```admonish note
|
||||
|
||||
Reference in New Issue
Block a user