From f7017fac2ec57b30b0188ab9d515d9ceb37ef9bf Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Tue, 8 Aug 2023 15:45:09 -0700 Subject: [PATCH] Fix the login form example --- examples/login_form.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/login_form.rs b/examples/login_form.rs index 74e634d5d..5ee47e4b5 100644 --- a/examples/login_form.rs +++ b/examples/login_form.rs @@ -35,7 +35,6 @@ fn app(cx: Scope) -> Element { h1 { "Login" } form { onsubmit: onsubmit, - prevent_default: "onsubmit", // Prevent the default behavior of
to post input { r#type: "text", id: "username", name: "username" } label { "Username" } br {}