title: No data passed in submit method of Redux-form
body: <p>I want to send the input values to the api.
  I used the code from below link, to get the input values in the submit method, but though the submit method gets called, the variable is empty.</p>
  
  <p><a href="https://stackoverflow.com/questions/38477712/how-to-handle-redux-form-submitted-data">How to handle redux form submitted data</a></p>
  
  <p>index.js</p>
  
  <pre><code>import React from "react";
  import ReactDOM from "react-dom";
  import "./index.css";
  import ContactForm from "./ContactForm";
  import * as serviceWorker from "./serviceWorker";
  import { createStore } from "redux";
  import { Provider } from "react-redux";
  
  import rootReducers from "./reducers";
  
  const store = createStore(rootReducers);
  
  ReactDOM.render(
    &lt;Provider store={store}&gt;
      &lt;ContactForm /&gt;
    &lt;/Provider&gt;,
    document.getElementById("root")
  );
  
  serviceWorker.unregister();
  
  </code></pre>
  
  <p>reducer.js</p>
  
  <pre><code>import { combineReducers } from "redux";
  import { reducer as formReducer } from "redux-form";
  
  const rootReducer = combineReducers({
    form: formReducer
  });
  export default rootReducer;
  </code></pre>
  
  <p>ContactForm.js</p>
  
  <pre><code>import React, { Component } from "react";
  import { reduxForm } from "redux-form";
  
  class ContactForm extends Component {
    submit(formValues) {
      console.log(formValues);
    }
    render() {
      const {
        fields: { firstName, lastName, email },
        handleSubmit
      } = this.props;
      return (
        &lt;form onSubmit={handleSubmit(this.submit)}&gt;
          &lt;div&gt;
            &lt;label&gt;First Name&lt;/label&gt;
            &lt;input type="text" placeholder="First Name" {...firstName} /&gt;
          &lt;/div&gt;
          &lt;div&gt;
            &lt;label&gt;Last Name&lt;/label&gt;
            &lt;input type="text" placeholder="Last Name" {...lastName} /&gt;
          &lt;/div&gt;
          &lt;div&gt;
            &lt;label&gt;Email&lt;/label&gt;
            &lt;input type="email" placeholder="Email" {...email} /&gt;
          &lt;/div&gt;
          &lt;button type="submit"&gt;Submit&lt;/button&gt;
        &lt;/form&gt;
      );
    }
  }
  
  ContactForm = reduxForm({
    form: "contact",
    fields: ["firstName", "lastName", "email"]
  })(ContactForm);
  
  export default ContactForm;
  </code></pre>
  
  <p>I am getting formValues as empty. Could anyone please help me with it?</p>