Update action_form.md

This commit is contained in:
Greg Johnston
2025-12-05 09:26:52 -05:00
committed by GitHub
parent b9f3721444
commit cbc5d0238c

View File

@@ -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