Fix form submission on native if there is an onclick handler somewhere (#4329)

This commit is contained in:
Moritz Hedtke authored and GitHub committed 2025-06-30 22:46:42 -07:00
1 parent e23debf096
commit e947f5ec08
4 files changed
+16 -25

No files matched your search

+6
View File
@@ -132,5 +132,11 @@ fn app() -> Element {
pre { "{values:#?}" }
}
}
button {
onclick: move |_| {
println!("Values: {:#?}", values.read());
},
"Log values"
}
}
}