是否有考虑支持拦截 form submit? 现在所有的 example 里 form 都基于 button click(button type != submit),在这种情况下 input 按回车不能实现递交,非常不友好
在Form组件上增加 @submit.native.prevent="handleSubmit()", 再在组件内部增加一个即可回车触发form的submit
可以监听 Input 的回车事件。
Input
This is a workaround, not a fix.
Most helpful comment
在Form组件上增加 @submit.native.prevent="handleSubmit()", 再在组件内部增加一个即可回车触发form的submit