[X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-number-field
Expected behavior
The number grouping separator , should not be interpreted as a decimal point. For example if i edit a number displayed as "1,000" and I delete the last 0 digit, the result should be "100".
Actual behavior
While editing a number, the grouping separator is interpreted as a decimal point and, in the above scenario, the result is 1.
Code of conduct
Impacted component(s)
sp-number-field
Expected behavior
The number grouping separator
,
should not be interpreted as a decimal point. For example if i edit a number displayed as "1,000" and I delete the last 0 digit, the result should be "100".Actual behavior
While editing a number, the grouping separator is interpreted as a decimal point and, in the above scenario, the result is 1.
Screenshots
What browsers are you seeing the problem in?
Safari / iOS 17.5.1
How can we reproduce this issue?
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response