title: HandleSubmit in Redux Form & React Native - No Values Print Out
body: <p>I'm having a problem with Redux Form when I try to <code>handleSubmit</code>, nothing prints out in the console.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>const renderTextInput = field =&gt; {
    const {
      meta: { touched, error },
      label,
      secureTextEntry,
      maxLength,
      keyboardType,
      placeholder,
      input: { onChange, ...restInput }
    } = field;
    return (
      &lt;View&gt;
        &lt;InputText
          onChangeText={onChange}
          maxLength={maxLength}
          placeholder={placeholder}
          keyboardType={keyboardType}
          secureTextEntry={secureTextEntry}
          label={label}
          {...restInput}
          {...onChange}
        /&gt;
        {touched &amp;&amp; error &amp;&amp; &lt;Text style={styles.errorText}&gt;{error}&lt;/Text&gt;}
      &lt;/View&gt;
    );
  };
  </code></pre>
  
  <pre><code>class SingUp extends Component {
    onSubmit = values =&gt; {
      console.log(values);
    };
    render() {
      const { handleSubmit } = this.props;
      return (
        &lt;View style={styles.container}&gt;
          &lt;View style={styles.logoContainer}&gt;
            &lt;Image
              style={{ height: 140, width: 140 }}
              source={require("../images/logo.png")}
            /&gt;
            &lt;Text style={styles.logoText}&gt;Complete el formulario&lt;/Text&gt;
          &lt;/View&gt;
          &lt;View style={styles.formContainer}&gt;
            &lt;Field
              placeholder="Nombre y Apellido"
              value="asd"
              name="name"
              component={renderTextInput}
            /&gt;
            &lt;Field
              placeholder="Mail"
              keyboardType="email-address"
              name="mail"
              component={renderTextInput}
            /&gt;
            &lt;Field
              placeholder="Contraseña"
              secureTextEntry={true}
              name="password"
              component={renderTextInput}
            /&gt;
            &lt;Field
              placeholder="Celular"
              name="tel"
              keyboardType="numeric"
              component={renderTextInput}
            /&gt;
            &lt;Field
              placeholder="DNI"
              name="dni"
              keyboardType="numeric"
              component={renderTextInput}
            /&gt;
            &lt;TouchableOpacity
              style={styles.button}
              onPress={handleSubmit(this.onSubmit)}
            &gt;
              &lt;Text style={styles.buttonText}&gt;Crear cuenta&lt;/Text&gt;
            &lt;/TouchableOpacity&gt;
            &lt;TouchableOpacity onPress={() =&gt; Actions.pop()}&gt;
              &lt;Text style={styles.textSingUp}&gt; Ya tengo cuenta&lt;/Text&gt;
            &lt;/TouchableOpacity&gt;
          &lt;/View&gt;
        &lt;/View&gt;
      );
    }
  }
  
  export default reduxForm({
    form: "register",
    fields: ["name", "mail", "password", "tel", "dni"]
  })(SingUp);
  </code></pre>
  
  <p>I tried several things from stack overflow but I couldn't find the solution for these.</p>
  
  <p>I would really appreciate it if anyone from the community can help me, Ty.</p>