-
-
Notifications
You must be signed in to change notification settings - Fork 49k
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
使用mapPropsToFields,想把redux异步获得的指绑定到form上初始化数据,出现uncaught at _callee TypeError: Cannot read property 'xxx' of undefined #7589
Comments
Hello @PerkinJ, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you! |
It will be better to write your issue/comment in English, so more people can understand you. |
Please provide a re-producible demo: http://codepen.io/benjycui/pen/KgPZrE?editors=001 |
ping~ @PerkinJ |
Close for no response. |
如题,使用redux异步获取到了数据,componentWillReceiveProps不能setFiledValue,所有只能在mapPropsToFields赋值,可以却一直出现uncaught at _callee TypeError: Cannot read property 'xxx' of undefined。由于表单填写内容较多,我是通过三个表单组件都创建了form,最后在容器层,去合并数据再submit的。 每个表单组件都单独form.create的。请问是因为这个原因,导致出现uncaught at _callee TypeError: Cannot read property 'xxx' of undefined吗?但console.log(props),是可以打印出来数据的。
The text was updated successfully, but these errors were encountered: