Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement(AmountInput): standardize + i18n support #11002

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Betree
Copy link
Member

@Betree Betree commented Feb 11, 2025

Resolve opencollective/opencollective#2954

Uses https://github.com/cchanxzy/react-currency-input-field seems for the amount input. Notable differences compared to our current amount input experience:

  • You provide an intl config to the input, and it takes care of formatting the number / ignoring unwanted characters
  • You can prefix (or suffix, based on intl) the input with a currency sign
  • Automatically inserts group separator

To do:

@Betree Betree self-assigned this Feb 11, 2025
Copy link

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencollective-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2025 11:26am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comma decimal separator fails validation in amount inputs
1 participant