-
Notifications
You must be signed in to change notification settings - Fork 42
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
mobx-react-form "constructor.name" is mangled by uglify. [use --keep-fnames] #31
Comments
Hi @richattack I made some tests and it is a minification issue. For now remove I will find a solution asap. |
Now should work. I introduced This because I'm using Please let me know if it's all ok now. |
Thanks so much Claudio!!! Everything is OK. |
You are welcome! |
Hi Claudio,
Thank you so much for the great rfx-stack and mobx-react-form. I follow and use it a lot.
I've been struggling with this strange issue though. When I set a value of a form field manually, it works in development but not in production environment.
For instance, in the AuthFormLogin.jsx file if I add a button
<button type="button" className="btn" onClick={() => form.update({ email: 'test' })} >Test button</button>
I should be able to set the form field value.
This works in development web:dev, but not in production web:prod. Same with form.$field.set('value'). Any idea?
Thank you much appreciated.
The text was updated successfully, but these errors were encountered: