title: React Input with useForm onChange not firing
body: <p>I have a <code>Input</code> with a <code>useForm</code> register where the onChange is not working.</p>
  <pre><code>import React, { useState } from &quot;react&quot;;
  import { useForm } from &quot;react-hook-form&quot;;
  import { Form, FormGroup, Input } from &quot;reactstrap&quot;;
  
  const App = () =&gt; {
    const [loginData, setLoginData] = useState({
      email: null,
      password: null
    });
    const {
      register,
      handleSubmit,
      formState: { errors }
    } = useForm();
  
    const submitForm = (data) =&gt; {
      console.log(data);
    };
  
    return (
      &lt;div className=&quot;row&quot;&gt;
        &lt;div className=&quot;col-sm-12&quot;&gt;
          &lt;Form onSubmit={handleSubmit(submitForm)}&gt;
            &lt;FormGroup className=&quot;has-wrapper&quot;&gt;
              &lt;Input
                type=&quot;email&quot;
                name=&quot;email&quot;
                id=&quot;email&quot;
                className=&quot;has-input input-lg&quot;
                placeholder=&quot;Enter Email Address&quot;
                value={loginData.email}
                onChange={(e) =&gt; console.log(e)}
                {...register(&quot;email&quot;, { required: true })}
                aria-invalid={errors.email ? &quot;true&quot; : &quot;false&quot;}
              /&gt;
              &lt;span className=&quot;has-icon&quot;&gt;
                &lt;i className=&quot;ti-email&quot;&gt;&lt;/i&gt;
              &lt;/span&gt;
              {errors.email &amp;&amp; (
                &lt;span style={{ color: &quot;red&quot; }} role=&quot;alert&quot;&gt;
                  required
                &lt;/span&gt;
              )}
            &lt;/FormGroup&gt;
          &lt;/Form&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    );
  };
  
  export default App;
  </code></pre>
  <p>When I change the value of email, the onChange is not being called.
  <a href="https://codesandbox.io/s/gracious-chatterjee-3e8i0" rel="nofollow noreferrer">https://codesandbox.io/s/gracious-chatterjee-3e8i0</a></p>