react-currency-input-field
react-currency-input-field copied to clipboard
React component for an input field
Add support for adding `currencyDisplay` attribute for `IntlConfig` Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat
# Problem `cleanValue` asks for values that are quite hard to get, but those are easily obtainable with the already done function `getLocaleConfig`. # Solution Export the getLocaleConfig as part...
**Issue** Im using typescript + next.js, during the app build - this message occurs: ``` ./node_modules/react-currency-input-field/src/components/CurrencyInput.tsx:24:14 Type error: Type 'ForwardRefExoticComponent' is not assignable to type 'FC'. Types of property 'propTypes'...
Entering "-." gets immediately changed into "." have been fixed and now changes to "-0."
**Describe the bug** When fixedDecimalLength is 0 you can still write 2 decimals after ",". **To Reproduce** Steps to reproduce the behavior: 1. add 0 to fixedDecimalLength prop and try...
**Describe the bug** As soon as CurrencyInput renders, if you try typing the decimal point , the decimal point is not visible. Typing "." again without deselecting the field works....
**Describe the bug** Unable to set the value attribute dynamically at runtime without confusing cursor position preservation which can lead to unintuitive character delete behaviour. **To Reproduce** - Change the...
**Describe the bug** When using a currency like KES it is somehow not recognized like other currencies. Once you delete the cursor comes in between K and ES causing issues....
**Describe the bug** The component is throwing an error when used in Remix: ``` Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite...
**Describe the bug** Entering "-." gets immediatelly changed into "." only. **To Reproduce** Steps to reproduce the behavior: 1. Go to [Example 1](https://cchanxzy.github.io/react-currency-input-field/) 2. Enter minus sign, then decimal separator...