react-number-format icon indicating copy to clipboard operation
react-number-format copied to clipboard

added nonEnglish number foramt, Persian, Arabic

Open baravak opened this issue 1 year ago • 1 comments

Describe the issue/change

#525

Add CodeSandbox link to illustrate the issue (If applicable)

Describe specs for failing cases if this is an issue (If applicable)

Describe the changes proposed/implemented in this PR

Link Github issue if this PR solved an existing issue

Example usage (If applicable)

<NumberFormatBase nonEnglishFormat />
<NumericFormat nonEnglishFormat />
<PatternFormat nonEnglishFormat />

Screenshot (If applicable)

Please check which browsers were used for testing

  • Chrome
  • Chrome (Android)
  • Safari (OSX)
  • Safari (iOS)
  • Firefox
  • Firefox (Android)

baravak avatar Dec 19 '24 09:12 baravak

Hey @baravak, Have you tried the custom numeral example? Any issue coming with doing it outside. Most of the custom logic can be handled in removeFormat and format prop. We are keeping it outside the library because there can be multiple numeral types.

https://s-yadav.github.io/react-number-format/docs/customization/#custom-numeral-example

s-yadav avatar Dec 25 '24 09:12 s-yadav