react-currency-masked-input icon indicating copy to clipboard operation
react-currency-masked-input copied to clipboard

Comma separator ',' does not work

Open severinv42 opened this issue 4 years ago • 1 comments

image I've installed the latest version (2.5.0) and tried to use it with a comma as the separator, but the error above appeared in the console. Input value stayed empty

severinv42 avatar May 13 '21 07:05 severinv42

image I've installed the latest version (2.5.0) and tried to use it with a comma as the separator, but the error above appeared in the console. Input value stayed empty

I've changed the type to text and it worked

import CurrencyInput from 'react-currency-masked-input'

<CurrencyInput type={'text'} separator={','} />

italoservio avatar Oct 21 '21 16:10 italoservio