Rename on_change to on_input for TextInput
This commit is contained in:
parent
f10e936f00
commit
e6a93e960c
12 changed files with 205 additions and 212 deletions
|
|
@ -74,7 +74,7 @@ impl Application for Example {
|
|||
let mut txt_input = text_input(placeholder, &self.data);
|
||||
|
||||
if self.text_edit_enabled {
|
||||
txt_input = txt_input.on_change(Message::TextInputChanged);
|
||||
txt_input = txt_input.on_input(Message::TextInputChanged);
|
||||
}
|
||||
|
||||
let btn = button("Enable/Disable").on_press(StartTimer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue