Skip to content

i18n Numbering Systems Testing: Issue with group separator #6607

@geospatialem

Description

@geospatialem

Actual Behavior

In the Calcite input component:

With the locale "ar-SA" and the numberingSystem "arab", the numbers change from arab to latn after typing 5 numbers consecutively, like "12345".

via Ben:

"It looks like it is because of the group separator"

Expected Behavior

The numbers in the input to remain in the arab numbering system.

Reproduction Sample

https://codepen.io/ainermfc/pen/KKeWoOg

Reproduction Steps

  1. Set the locale to "ar-SA"
  2. Set the numberingSystem to "arab"
  3. Set dir to "rtl"
  4. Add groupSeparator
  5. Type more than 5 digits into the input

Reproduction Version

1.0.0-beta.97

Relevant Info

Spurred from #5920, which had two distinct issues. cc @annierm18 @benelan

Regression?

v1.0.0-beta.97

Priority impact

p3 - not time sensitive

Impact

No response

Esri team

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.bugBug reports for broken functionality. Issues should include a reproduction of the bug.estimate - 8Requires input from team, consider smaller steps.i18n-l10nissues dealing with internationalization/localizationimpact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - lowIssue is non core or affecting less that 10% of people using the library

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions