[X] I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
Latest
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Chrome
Describe the bug
The current NumberInput component only accepts English (Latin) numerals, restricting input from users who use other numeral systems such as Arabic, Persian, or others. This limitation affects users with keyboards or language settings that default to these numerals.
Expected Behavior:
The component should either:
Accept numerals from other languages (e.g., Arabic or Persian) directly as valid input.
Automatically convert non-English numerals to their English counterparts before processing.
Actual Behavior:
Only English numerals are allowed, and any attempt to input numerals from other numeral systems is blocked.
Suggested Solution:
Implement a method to detect and transform numerals from other languages (like Arabic or Persian) into English numerals upon input. This will ensure that all users, regardless of their keyboard settings, can enter valid numeric data.
Steps to Reproduce:
Set your keyboard to a layout that uses Arabic or Persian numerals.
Try to enter a number into the NumberInput component.
Notice that the input is rejected unless the keyboard is switched back to English numerals.
Additional Context:
Supporting multiple numeral systems would enhance accessibility and usability for international users, improving the inclusivity of the application.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
[ ] I would be willing to implement a fix for this issue
Dependencies check up
What version of @mantine/* packages do you have in package.json?
Latest
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Chrome
Describe the bug
The current
NumberInput
component only accepts English (Latin) numerals, restricting input from users who use other numeral systems such as Arabic, Persian, or others. This limitation affects users with keyboards or language settings that default to these numerals.Expected Behavior:
Actual Behavior:
Suggested Solution:
Steps to Reproduce:
Additional Context: Supporting multiple numeral systems would enhance accessibility and usability for international users, improving the inclusivity of the application.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service