How do I reset the input field after clicking to send my message

后端 未结 0 1955
醉酒成梦
醉酒成梦 2021-01-21 06:20

In a chat app, I would like to reset() the input field where I send messages upon clinking so the input field will become empty again. Here\'s what I have.

const          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题