Why is toggling the dropdown when I click enter key on input field?

前端 未结 0 1972
不知归路
不知归路 2020-12-03 04:34

If I type something in the first input field and then click the enter key the dropdown is being toggled, why is that happening?

If the onClick event is inside the but

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