Skip to content

NumberField breaks when value is less than 3 for locale="ar" #6861

@zernonia

Description

@zernonia

Provide a general summary of the issue here

When we set locale to ar, the NumberField breaks when the value is less than 3. Try clicking on decrement in the stackblitz attached.

🤔 Expected Behavior?

The component should render value 0 to 2 correctly.

😯 Current Behavior

Breaks when value is less than 3

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://stackblitz.com/edit/stackblitz-starters-bwt79x?file=src%2Findex.tsx

  1. Click decrement
  2. Observe the input value not showing 2 أيام

Version

1.3.1

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Mac

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions