Skip to content

表单字段动态校验规则 #6900

@gitdust

Description

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

Version

3.2.5

Environment

^3.2.5

Reproduction link

Edit on CodeSandbox

Steps to reproduce

如代码创建校验类

What is expected?

在输入满足规则的内容(10 个数字)后,点击“提交”,不出现校验错误提示

What is actually happening?

在输入满足规则的内容(10 个数字)后,校验提示在不停点击“提交”时,交替出现
但是把 field1Rule 属性写在 testField1 方法里面就没问题

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