spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: NumberField component auto formatting change comma to decimal on iOS mobile device

Open monkeyjabs opened this issue 1 year ago • 1 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

NumberField

Expected behavior

The formatting should not change change from comma to decimal point.

Actual behavior

When updating the value the formatting change from comma to decimal.

For example if the NumberField has the value: 1,024 If you select the field and remove 4 and the focus out of the component it changed to: 1.02 instead of 102

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. On iOS mobile Safari, Go to: https://opensource.adobe.com/spectrum-web-components/components/number-field/
  2. Scroll down to the first example with number field value: 1,024
  3. Focus input field and remove the last digit number 4
  4. Tap somewhere outside of the component
  5. Result updates to 1.02

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

monkeyjabs avatar Apr 19 '23 20:04 monkeyjabs