title: Validation not happening on HandleSubimt inside react form
body: <p>As stated I have some fields that need to be validated and it's just not happening on react-form. I'm following the course &quot;Modern React with Redux&quot; and I have the following code with a redux form which must be validated for empty values:</p>
  <pre><code>import React from &quot;react&quot;;
  import {Field, reduxForm} from 'redux-form';
  
  class StreamCreate extends React.Component {
      renderInput({input, label, meta}){
          console.log(meta)
          return (
              &lt;div className=&quot;field&quot;&gt;
                  &lt;label&gt;{label}&lt;/label&gt;
                  &lt;input {...input}/&gt;
              &lt;/div&gt;
          )
      }
  
      onSubmit(formValues){
          console.log(formValues);
      }
      
      render(){
          return(
              &lt;form onSubmit={this.props.handleSubmit(this.onSubmit)} className=&quot;ui form&quot;&gt;
                  &lt;Field name=&quot;title&quot; component={this.renderInput} 
                      label=&quot;enter title&quot;
                  /&gt;
                  &lt;Field name=&quot;description&quot; component={this.renderInput} 
                      label=&quot;enter description&quot;
                  /&gt;
                  &lt;button className=&quot;ui button primary&quot;&gt;Submit&lt;/button&gt;
              &lt;/form&gt;
          )
      }
  } 
  
  const validate = (formValues) =&gt; { // This is not running!
      const errors = {};
  
      if (!formValues.title){
          errors.title = &quot;you must enter a title&quot;;
      }
      if (!formValues.description){
          errors.description = &quot;you must enter a description&quot;;
      }
  }
  
  export default reduxForm({
      form: 'streamCreate',
      validate // I followed the example to the T and checked the documentation
  })(StreamCreate);
  </code></pre>
  <p>Here's the documentation:</p>
  <p><a href="https://redux-form.com/8.2.2/examples/syncvalidation/" rel="nofollow noreferrer">https://redux-form.com/8.2.2/examples/syncvalidation/</a></p>
  <p>Any help would be much appreciated!</p>