Skip to content

Commit

Permalink
fix: yewstack#38 edit action on form is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlHeitmann committed May 26, 2022
1 parent fbde8e4 commit 5e578c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl App {
html! {
<input class="edit"
type="text"
value=&entry.description
value=self.state.edit_value
oninput=self.link.callback(move |e: InputData| Msg::UpdateEdit(e.value))
onblur=self.link.callback(move |_| Msg::Edit(idx))
onkeypress=self.link.callback(move |e: KeyboardEvent| {
Expand Down

0 comments on commit 5e578c6

Please sign in to comment.