title: How to use react-hook-form with ant design or material UI
body: <p>I'm trying to use react-hook-form library to validate a form. When I render view using ant design or material UI, it does not work correctly.</p>
  
  <pre><code>&lt;Input name="firstName" ref={register({ required: true })} /&gt;
    {errors.firstName &amp;&amp; 'First name is required'}
  </code></pre>
  
  <p>Some warning happened: <code>"Missing name at....."</code>.</p>