-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
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
use getFieldDecorator in jsx report an error (TypeError: Cannot read property 'value' of undefined) #930
Labels
Comments
drafish
added a commit
to drafish/ant-design-vue
that referenced
this issue
Jul 3, 2019
如果用jsx的,form可以使用react 的方式,不需要传递 form={this.form} |
谢谢唐老师指出错误,复现用例和ant-design-vue-pro中的Login组件中的form={this.form}我已经都删掉了。顺便夸一句,唐老师的办事效率好高啊,我这pr提了还没两天就处理了。element那边我也提了个pr,三个多月了还没处理。顺便再问下,这个issue是不是可以close掉了 |
关掉吧 |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
1.3.10
Environment
os version: macos 10.14.5、browser version: chrome75.0.3770.100、vue version: ^2.6.6
Reproduction link
Steps to reproduce
use getFieldDecorator in jsx like this
{getFieldDecorator(name, options)(
)}
What is expected?
render FormItem
What is actually happening?
report an error (TypeError: Cannot read property 'value' of undefined) and cannot render FormItem
The text was updated successfully, but these errors were encountered: