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

Currency Input Component Displays Incorrect Format

Open MariaBracho opened this issue 1 year ago • 2 comments

Describe the bug The currency input component is not formatting the value as expected when use locale "es" or "es-ES".

Expected behavior The currency input should display the value in the format “76.800,00 €.”

Actual Behavior The currency input currently displays the value as “76800,00 €.”

Additional context I am using the following component:

const intlConfig = { locale: "es-ES", currency: "EUR", };

<Input as={CurrencyInputField} onValueChange={handleValueChange} intlConfig={intlConfig} value={textValue} />

MariaBracho avatar May 28 '24 16:05 MariaBracho