Fix form submission on native if there is an onclick handler somewhere (#4329)
This commit is contained in:
1 parent
e23debf096
commit
e947f5ec08
4 files changed
+16
-25
No files matched your search
@@ -132,5 +132,11 @@ fn app() -> Element {
|
||||
pre { "{values:#?}" }
|
||||
}
|
||||
}
|
||||
button {
|
||||
onclick: move |_| {
|
||||
println!("Values: {:#?}", values.read());
|
||||
},
|
||||
"Log values"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user