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

Support additional numeric formats on asset amount inputs #373

Open
aaroncox opened this issue Feb 17, 2025 · 0 comments
Open

Support additional numeric formats on asset amount inputs #373

aaroncox opened this issue Feb 17, 2025 · 0 comments

Comments

@aaroncox
Copy link
Member

aaroncox commented Feb 17, 2025

When sending tokens, I often will copy exact values from external sources and paste them into the Unicove send token flow.

Some of those numbers are formatted with a thousands separator (e.g. 1,234.5678), which our current inputs don't recognize as valid amounts. Each time after I paste I need to remove the thousands separator to get it to recognize the value (e.g. 1234.5678).

We could strip out characters we deem invalid, but in the future if we ever try to support alternative thousands/decimal separators (e.g. 1.234,5678 or 1 234,5678) that would cause problems. For reference.

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

No branches or pull requests

1 participant