In some instances I'm using redux-form
for forms that technically have no inputs, just a submit button. The reason for this is consistency in handling server-side errors.
I'm using alpha 15 and for my forms with no inputs I'm getting the following error:
reduxForm.js?c2ae:400 Uncaught TypeError: Cannot read property 'map' of undefined
specifically, this line:
this.props.registeredFields.map(function (field) {
return getIn(field, 'name');
});
Is there any harm in just having an empty array be the default value for this.props.registeredFields
?
Fixed. I will comment again when the fix is published.
Published in v6.0.0-rc.1
.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Fixed. I will comment again when the fix is published.