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

InputNumber locale is not respecting user's region on iOS #7644

Open
AleksHirsch opened this issue Jan 24, 2025 · 0 comments
Open

InputNumber locale is not respecting user's region on iOS #7644

AleksHirsch opened this issue Jan 24, 2025 · 0 comments
Labels
Device: Mobile Issue or pull request is *only* related to Mobile device

Comments

@AleksHirsch
Copy link

Describe the bug

InputNumber component doesn't respect user's region on iOS

Image

Reproducer

https://primereact.org/inputnumber/#locale

System Information

System: iOS 18.2
Browser: Safari

Steps to reproduce the behavior

  1. Have iOS region set to country that uses comma as separator (e.g. Netherlands, Spain)
  2. Go to https://primereact.org/inputnumber/#locale
  3. Click on User Locale input
  4. Pattern shows 151,351.00
  5. iPhone keyboard shows comma as separator
  6. Unable to type decimals, input expects dot, keyboard shows comma

Expected behavior

Input should expect comma if user's locale uses comma

@AleksHirsch AleksHirsch added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 24, 2025
@melloware melloware added Device: Mobile Issue or pull request is *only* related to Mobile device and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Device: Mobile Issue or pull request is *only* related to Mobile device
Projects
None yet
Development

No branches or pull requests

2 participants