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
|
|
@ -91,7 +91,7 @@ impl Sandbox for Styling {
|
|||
);
|
||||
|
||||
let text_input = text_input("Type something...", &self.input_value)
|
||||
.on_change(Message::InputChanged)
|
||||
.on_input(Message::InputChanged)
|
||||
.padding(10)
|
||||
.size(20);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue