-
-
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.0.0
Environment
vue 3.0.5
Reproduction link
The "validate" is mentioned on https://2x.antdv.com/components/form-cn#components-form-demo-useForm-merge,
but doesn't exist at all according to the source code:
https://github.com/vueComponent/ant-design-vue/blob/next/components/form/Form.tsx
Steps to reproduce
<a-form
:model="form"
:rules="rules"
@validate="onValidate">What is expected?
The "validate" event should be called when a user changes the value of any form items.
What is actually happening?
'onValidate' won't be triggered at all because the "validate" doesn't exist at all, but https://2x.antdv.com/components/form-cn#components-form-demo-useForm-merge mentions the validate event, it should exist.