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