Skip to content

date range picker can't be auto validated in form model #2637

@donaldjohn

Description

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

Version

1.6.4

Environment

vue 2.6.10, antdv 1.6.4

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. add rules to the form-model-item
  2. click “查询” invoke the validator
  3. It shows the validate fail message.
  4. select right date range, the fail message don't disappear
  5. click "重置" button, the fail message disappear but the value of the date-picker not reset.

What is expected?

  1. auto validate
  2. fix resetFields

What is actually happening?

  1. Maybe the date range picker is not auto linked with the form model item

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