We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.2.0-beta.2
vue3.1.1
https://2x.antdv.com/components/form-cn
https://codesandbox.io/s/confident-galois-3wyp6?file=/src/App.vue:793-799
可以在form-item中存在一个以上的表单元素时,再通过ref的方式获取form-item的实例,发现重构后的
{ id: undefined htmlFor: undefined prefixCls: undefined label: undefined help: undefined extra: undefined labelCol: undefined wrapperCol: undefined hasFeedback: false colon: undefined labelAlign: undefined prop: undefined name: "name" rules: undefined autoLink: true required: undefined validateFirst: undefined validateStatus: undefined validateTrigger: undefined messageVariables: undefined hidden: false setState: ƒ bound setState() {} }
无onFieldBlur 和 onFieldChange事件了
期望form-item暴露onFieldBlur 和 onFieldChange事件
同上步骤
The text was updated successfully, but these errors were encountered:
onFieldBlur 和 onFieldChange 同样是内部方法,即便暴露出来,未来都有可能改变,你应该使用 formRef.validateFields 方法
Sorry, something went wrong.
fix: form-item expose some method #4183
791ae38
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Version
2.2.0-beta.2
Environment
vue3.1.1
Reproduction link
https://2x.antdv.com/components/form-cn
Steps to reproduce
https://codesandbox.io/s/confident-galois-3wyp6?file=/src/App.vue:793-799
可以在form-item中存在一个以上的表单元素时,再通过ref的方式获取form-item的实例,发现重构后的
无onFieldBlur 和 onFieldChange事件了
What is expected?
期望form-item暴露onFieldBlur 和 onFieldChange事件
What is actually happening?
同上步骤
The text was updated successfully, but these errors were encountered: