mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
Merge pull request #1327 from Demonthos/fix-login-form-example
Fix the login form example
This commit is contained in:
commit
8e08d721f1
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ fn app(cx: Scope) -> Element {
|
||||||
h1 { "Login" }
|
h1 { "Login" }
|
||||||
form {
|
form {
|
||||||
onsubmit: onsubmit,
|
onsubmit: onsubmit,
|
||||||
prevent_default: "onsubmit", // Prevent the default behavior of <form> to post
|
|
||||||
input { r#type: "text", id: "username", name: "username" }
|
input { r#type: "text", id: "username", name: "username" }
|
||||||
label { "Username" }
|
label { "Username" }
|
||||||
br {}
|
br {}
|
||||||
|
|
Loading…
Reference in a new issue