Skip to content
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

v6 handleSubmit triggers Object.values and isn't converted into ES5 #907

Closed
darylhedley opened this issue May 4, 2016 · 7 comments
Closed

Comments

@darylhedley
Copy link

Having a problem with the v6 alpha version of Redux Form. Chrome doesn't like Object.values and maybe this is an issue with Webpack/Babel in my application. Should this be converted into an ES5 method or use lodash _.values?

@babsonmatt
Copy link

Do you need require('babel-polyfill'); in your webpack entry point?

@darylhedley
Copy link
Author

Not too sure. I currently have:

.babelrc

{
  "presets": ["react", "es2015", "stage-1"]
}

webpack.config.js

module: {
        loaders: [{
            exclude: /node_modules/,
            loader: 'babel'
        }]
    },

@erikras
Copy link
Member

erikras commented May 4, 2016

This is has been fixed, and will be released in an upcoming alpha release.

@erikras erikras closed this as completed May 4, 2016
@darylhedley
Copy link
Author

Thanks! Also just to say we've been using the Alpha release and it's amazing - the new Field component is great.

@erikras
Copy link
Member

erikras commented May 4, 2016

Fix published as v6.0.0-alpha-7.

@darylhedley
Copy link
Author

Ace! Thanks!

@lock
Copy link

lock bot commented Jun 3, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants