title: Redux form error is undefined
body: <p>Why is error undefined with the validate function? I print the errors in the log but is undefined in the Field. When I try to do field.meta.error I get a undefined. I put that in the inputComponent const after the <code>&lt;input&gt;</code>.</p>
  
  <pre><code>const inputComponent = function(field) {
    return (
      &lt;div&gt;
        &lt;input { ...field.input } type={field.type} placeholder={field.placeholder} className={field.className} /&gt;
      &lt;/div&gt;
    );
  }
  
  class Test extends Component {
  
    render() {
  
      &lt;div&gt;
         &lt;Field name="name" component={inputComponent} type="email" placeholder="Email" /&gt;
         &lt;Field name="password" component={inputComponent} type="password" placeholder="Password" /&gt;
      &lt;/div&gt;
  
    }
  
  
  function validate(values) {
    const errors = {};
  
    if(!values.name) {
      errors.categories = "Name error";
    }
  
    if(!values.password) {
      errors.categories = "Password error";
    }
  
    return errors;
  }
  
  }
  
  Test = reduxForm({
    form: 'NameForm',
    validate
  }, null, null)(Test);
  
  export default connect(mapStateToProps, mapDispatchToProps)(Test);
  </code></pre>