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

Fix MoneyInput.parseMoneyValue to respect the fraction digits #795

Merged
merged 1 commit into from
May 20, 2019

Conversation

islam3zzat
Copy link
Contributor

@islam3zzat islam3zzat commented May 20, 2019

Summary

In this PR we set the minimumFractionDigits to the value's fractionDigits when converting to string in MoneyInput.parseMoneyValue

Fixes #793

Description

More details on the issue, and reproduce steps can be found on the issue #793

@islam3zzat islam3zzat changed the title MoneyInput add minimumFractionDigits Fix MoneyInput.parseMoneyValue: add minimumFractionDigits when using toLocaleString May 20, 2019
@islam3zzat islam3zzat changed the title Fix MoneyInput.parseMoneyValue: add minimumFractionDigits when using toLocaleString Fix MoneyInput.parseMoneyValue to respect the fraction digits May 20, 2019
@islam3zzat islam3zzat added the 🐛 Type: Bug Something isn't working label May 20, 2019
@islam3zzat islam3zzat self-assigned this May 20, 2019
@islam3zzat islam3zzat requested a review from montezume May 20, 2019 11:57
Copy link
Contributor

@montezume montezume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks 🎈

@montezume montezume merged commit 98ee547 into master May 20, 2019
@montezume montezume deleted the if-fix-money-parsing branch May 20, 2019 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MoneyInput.parseMoneyValue only getting first 3 fractions in browser
2 participants