diff --git a/router/src/components/form.rs b/router/src/components/form.rs index c5cf3fd85..c20155e10 100644 --- a/router/src/components/form.rs +++ b/router/src/components/form.rs @@ -85,6 +85,7 @@ where // POST if method == "post" { ev.prevent_default(); + ev.stop_propagation(); let on_response = on_response.clone(); spawn_local(async move { @@ -144,6 +145,7 @@ where .is_ok() { ev.prevent_default(); + ev.stop_propagation(); } } }; @@ -348,6 +350,7 @@ where } Ok(input) => { ev.prevent_default(); + ev.stop_propagation(); multi_action.dispatch(input); if let Some(error) = error { error.set(None);