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
|
|
@ -126,7 +126,7 @@ impl Application for WebSocket {
|
|||
|
||||
let new_message_input = {
|
||||
let mut input = text_input("Type a message...", &self.new_message)
|
||||
.on_change(Message::NewMessageChanged)
|
||||
.on_input(Message::NewMessageChanged)
|
||||
.padding(10);
|
||||
|
||||
let mut button = button(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue