Skip to content

Commit

Permalink
Fix form example
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Sep 7, 2024
1 parent 00427a8 commit 8a5bd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn app() -> Element {
id: "check1",
name: "check1",
value: "check1",
checked: "{checkbox_checked}",
checked: Some("").filter(|_| checkbox_checked()),
oninput: move |ev| {
dbg!(ev);
checkbox_checked.set(!checkbox_checked());
Expand Down

0 comments on commit 8a5bd35

Please sign in to comment.