Rename on_change to on_input for TextInput

This commit is contained in:
Héctor Ramón Jiménez 2023-04-12 04:13:36 +02:00
parent f10e936f00
commit e6a93e960c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
12 changed files with 205 additions and 212 deletions

View file

@ -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);