Skip to content

FormItem 传递 prop validateTrigger 和 rule.validateTrigger 都无法覆盖默认的 validateTrigger #6953

@zz15220270326

Description

@zz15220270326

Version of antd-mobile

5.39.0

Operating system and its version

No response

Browser and its version

Chrome laest

Sandbox to reproduce

No response

What happened?

现象

在使用 Form + FormItem 时,给 FormItem 添加 validateTrigger = 'onBlur' - 无法覆盖默认的 'onChange'

使用截图

Image

原因

Image

Relevant log output

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