Add item on the list when pressing Enter and clear input field

前端 未结 0 1065
梦毁少年i
梦毁少年i 2021-02-19 00:04

when I type something in the input field and press Enter key on keyboard I want to add that item on the list automatically, once when is added I want to clear the input field to

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