Skip to content

Commit

Permalink
fix nightly syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj authored Jan 24, 2025
1 parent 1ad3aa7 commit dce41f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/05_forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ let (value, set_value) = signal(0i32);
view! {
<select
on:change:target=move |ev| {
set_value(ev.target().value().parse().unwrap());
set_value.set(ev.target().value().parse().unwrap());
}
prop:value=move || value.get().to_string()
>
Expand Down

0 comments on commit dce41f9

Please sign in to comment.