title: React input currency mask
body: <p>I have a currency input(euro), and i used the react input masking to correct the numbers while the user is typing, but how can i make the user able to type ','?He can type numbers and '.' only.</p>
  <pre><code>    CurrencyInput
                          id=&quot;input-example&quot;
                          name=&quot;input-name&quot;
                          defaultValue={formatedResult}
                          decimalsLimit={2}
                          decimalSeparator=&quot;,&quot; 
                          groupSeparator=&quot;.&quot;
                          onValueChange={(value, name) =&gt; console.log(value, name)}
      /&gt;
  </code></pre>