Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong detect Fraction Separator in currency formatter #148

Open
thtuan opened this issue Nov 27, 2023 · 1 comment
Open

Wrong detect Fraction Separator in currency formatter #148

thtuan opened this issue Nov 27, 2023 · 1 comment

Comments

@thtuan
Copy link

thtuan commented Nov 27, 2023

Hi,
I found a bugs in formatter_utils.dart file.

image

with mantissaSeparator = ',' and input string is 1.000 (equal 1000) _detectFractionSeparatorstill detect . as a fraction separator.
Please fix this bugs because it affect to CurrencyInputFormatter class

@caseyryan
Copy link
Owner

Hi! Can you provide a more detailed example?
What are the parameters you use for your formatter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants