Skip to content

The (clearValidate) parameter of (api) of (a-form) is invalid if an array is passed #6242

@firstSunrain

Description

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

Version

3.2.5

Environment

any

Reproduction link

Edit on CodeSandbox

Steps to reproduce

第一步:触发动态表单的第一行第一个的输入框的必填校验提示。
第二步:点击Clear dynamic按钮。
Step 1: trigger the required verification prompt in the first input box of the first line of the dynamic form.
Step 2: Click the Clear dynamic button.

What is expected?

点击按钮后,清除第一行第一个的输入框的必填校验提示。
Click the button to clear the required verification prompt in the first input box of the first line.

What is actually happening?

There is no change.


点击Clear fixed按钮时,非动态表单的错误校验提示可以被顺利清除,初步怀疑是form表单的clearValidate方法不支持数组格式参数。
When you click the (Clear fixed) button, the error verification prompt of the non-dynamic form can be cleared successfully. It is initially suspected that the (clearValidate) method of the (form) form does not support array format parameters.

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