title: how can we set two value in input in react
body: <p>how can we set two value in input in react in my below i m trying to do set in value two parameter in input but i am trying to do that i m not able to set</p>
  <p>This is my input type</p>
  <pre><code>                     &lt;input      
                          value={type.id}
                          type=&quot;radio&quot;
                          name=&quot;select&quot;
                          key={j}
                          onChange={(e) =&gt;
                            this.setState({ selectedId: e.target.value })
                          }
                        /&gt;
  </code></pre>
  <p>and i want to set in here  value={type.id, type.rollno }.</p>
  <p>how can we do that</p>
  <p>anybody help me out this.</p>
  <p>in my code right now in console i m getting only id when i click row in table but i want to getting in console id and rollno both</p>
  <p>how can we do that. anyone help me out. its very thankful</p>