Skip to content

How do I listen for carriage returns on the form after using useForm? If you use the submit event, it will only be called back after [data verification is successful]. #3957

@geeklibin

Description

@geeklibin
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.1

Environment

windows10 专业版,Chrome版本 87.0.4280.88(正式版本) (64 位),Vue3.0.0

Steps to reproduce

<a-form>
<a-form>

What is expected?

需求是,使用useForm,填完按回车 再验证,再提交。

What is actually happening?

如果使用submit事件,仅仅在验证成功后回调。我只能在每一个 input组件上绑定回车吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions