react-number-format
react-number-format copied to clipboard
added nonEnglish number foramt, Persian, Arabic
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)
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