Преглед на файлове

Merge pull request #1327 from Demonthos/fix-login-form-example

Fix the login form example
Jonathan Kelley преди 1 година
родител
ревизия
8e08d721f1
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      examples/login_form.rs

+ 0 - 1
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 <form> to post
             input { r#type: "text", id: "username", name: "username" }
             label { "Username" }
             br {}