Use hooks to reset message value
SimonLab opened this issue · comments
Phoenix liveview doesn't change any input with focus.
This means that when a message is sent with the enter key, the message field still contain the text and the user is forced to delete it before writing a new message.
This is a good example to show how to use Phoenix Hooks with liveView