-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.2.6
Environment
vue 3.2.2, async-validator 3.5.1
Reproduction link
https://2x.antdv.com/components/form-cn#components-form-demo-basic
Steps to reproduce
- Declare:
<a-form :model="formState" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-form-item label="Activity time">
<a-date-picker
v-model:value="formState.date"
show-time
type="date"
:name="registrationDate"
placeholder="Pick a date"
style="width: 100%"
/>
</a-form-item>
......data() {
return { formState: {date: null} }
}- Pick a date from the date picker
- It will fail with a message like: 'registrationDate' is not a valid undefined

What is expected?
It should not fail to validate
What is actually happening?
After selecting a date from the picker, it just failed to validate