title: How to put comma separator in input field in reactjs?
body: <p>i have a form where i show previous field value in input tag. But, as i put type=number. then my <code>.toLocaleString("en-IN")</code> would'nt work.Also, i want to show comma in INR currency styles. i.e 12,25,789</p>
  
  <p>Following is my code:</p>
  
  <pre><code>&lt;Col lg="2"&gt;
      &lt;Form.Control
          size="sm"
          // type="number"
          value={temp.originalAmount.toLocaleString("en-IN")}
          onChange={this.handlechangevalue.bind(
              this,
              item,
              keys,
              index
          )}
       /&gt;                  
  &lt;/Col&gt;
  </code></pre>
  
  <p>P.S been using react-bootstrap</p>