Skip to content

The validation-messages of the FormItem on change or blur are not using the validation-messages of the parent component's Form #5303

@KaygNas

Description

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

Version

2.2.8

Environment

Browser: Edge 版本 98.0.1108.62 (官方内部版本) (64 位); Vue: 3.2.31

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 在地址表单输入任意内容,然后清空
  2. 出现验证消息 'address is required'
  3. 点击 validate 按钮
  4. 验证消息变为 'address 为必填'

What is expected?

上述第 2 步的验证消息应与第 4 步相同

What is actually happening?

上述第 2 步的验证消息不与第 4 步相同

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