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