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

Bug: Unable to insert decimal separator into amount fields (europe uses comma instead of dot) #825

Open
1 task done
tohrxyz opened this issue Mar 27, 2024 · 0 comments
Open
1 task done

Comments

@tohrxyz
Copy link

tohrxyz commented Mar 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm european and my decimal separator is a comma , instead of dot . like you have in US, you separate thousands by comma, we just insert a space or nothing at all.

Stack wallet doesn't seem to support entering a comma , into amount fields when sending a transaction, because it thinks comma is for thousands separation, not a decimal separator.

So I literally CAN'T enter a fraction of eur or XMR like 0.024 XMR because it brings up numerical keyboard (on iOS) and there's only comma. I am hitting comma and it goes like 0,240.... which then gets converted to like 3000 EUR. The same goes for when I want to write fractional amount of fiat.

The only thing that worked for me was to copy . from somewhere else and paste it into the field.

Btw when generating a qr code for receiving, it too doesn't support , as decimal separator, but when I enter it there, it then says it's invalid amount.
image
image

Expected Behavior

It should recognize also comma , as a decimal separator. Because otherwise non-us users are unable to use it.

Reproduce Steps

  1. use iOS
  2. have region/language/number format set such, that it uses comma , as decimal separator
  3. start typing into number fields
  4. want to type decimal separator
  5. keyboard offers ,
  6. enter => doesn't work, thinks it's thousands

Environment

  • Operating system and version: iOS 17.1
  • Device platform and version: iPhone 11
  • Real device or emulator/simulator: real phone

Logs

No response

Further Information

No response

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