react-currency-input-field
react-currency-input-field copied to clipboard
Currency Input Component Displays Incorrect Format
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} />