title: Radio buttons with react-hook-form validation
body: <p>I have created a form having radio button and done validation with react hook form but while showing log data in console it shows always &quot;on&quot; on selection radio button.</p>
  <pre><code>&lt;div className=&quot;&quot;&gt;
                &lt;label htmlFor=&quot;&quot; className=&quot; &quot;&gt;
                  US Citizen?
                &lt;/label&gt;
                &lt;div className=&quot;&quot;&gt;
                  &lt;div className=&quot;radio-container&quot;&gt;
                    &lt;input type=&quot;radio&quot; name=&quot;radio&quot; {...register(&quot;usCitizen&quot;)} /&gt;
                    &lt;label&gt;Yes&lt;/label&gt;
                  &lt;/div&gt;
  
                  &lt;div className=&quot;radio-container&quot;&gt;
                    &lt;input type=&quot;radio&quot; name=&quot;radio&quot; {...register(&quot;usCitizen&quot;)} /&gt;
                    &lt;label&gt;No&lt;/label&gt;
                  &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>