Unable to have redux-form working
mimiz opened this issue · 0 comments
Hi,
I just wanted to try a simple thing, I cloned the repo, add redux-form yarn add redux-form
create a simple contact form (as the redux form documentation says) then try to display the form, but I have this error :
makeAssimilatePrototype.js:21 Uncaught TypeError: Cannot set property valid of #<ReduxForm> which has only a getter
And then no other code works on the app (I mean like counter is not working)
I think the problem comes from this code :
LoginForm = reduxForm({ // a unique name for the form form: 'login', })(LoginForm);
because if I comment it, i do not have the error and all other code is working well, here is the code :
https://github.com/mimiz/demo-redux-form
Note I'm using node 8.7.0 and yarn 1.2.1
If anyone can help, would appreciate.
Regards
Rémi