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
|
|
@ -51,7 +51,7 @@ impl Sandbox for QRGenerator {
|
|||
|
||||
let input =
|
||||
text_input("Type the data of your QR code here...", &self.data)
|
||||
.on_change(Message::DataChanged)
|
||||
.on_input(Message::DataChanged)
|
||||
.size(30)
|
||||
.padding(15);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue