-
Notifications
You must be signed in to change notification settings - Fork 462
Description
🤔 Expected Behavior
Provide a built-in currency input component similar to React CurrencyInput
https://www.npmjs.com/package/react-currency-input-field
The component should:
Format values as currency while typing
Support locale-aware separators (, / .)
Allow configuration for currency symbols, decimal precision, and negative values
😯 Current Behavior
Currency input is currently not supported.
Based on previous issues, this functionality has been marked as unsupported, leaving developers to rely on custom implementations or third-party libraries.
💁 Possible Solution
Introduce a native currency input component or formatter that:
Integrates seamlessly with existing input components
Handles formatting and parsing internally
Works well with validation and calculations
A built-in solution would eliminate repetitive custom logic and reduce dependency on external libraries.
🔦 Context
Currency and numeric calculations are widely used in real-world applications (e.g. invoices, pricing, financial dashboards, forms).
Without native support:
Adding this feature would significantly improve developer experience and make the framework more suitable for business and finance-heavy use cases.
💻 Examples
Reference implementation:
React CurrencyInput
https://www.npmjs.com/package/react-currency-input-field