Skip to content

是否可以提供一个校验其他组件的demo? #6773

@horsecms

Description

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

What problem does this feature solve?

https://antdv.com/components/form-cn#components-form-demo-validate-other, 能否提供一个校验其他组件的demo,即不通过a-form-item的rules进行校验,而是通过类似formItemContext.onFieldChange() 或者useForm的某个方法进行的校验,用于封装一些公共方法,同时避免每次都要重复的写特殊校验规则

What does the proposed API look like?

https://antdv.com/components/form-cn#components-form-demo-validate-other

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions