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

New release with fixed decimal parsing on mask function #268

Open
naaando opened this issue Jul 29, 2020 · 0 comments
Open

New release with fixed decimal parsing on mask function #268

naaando opened this issue Jul 29, 2020 · 0 comments

Comments

@naaando
Copy link

naaando commented Jul 29, 2020

Hello, can you generate a new dist with fixed mask function for numeric values?

var isNumber = !isNaN(value);
var decimalPointIndex = isNumber? value.indexOf("."): value.indexOf(settings.decimal);

The current dist is shipping a broken mask implementation that don't translate well decimal values if the separator is set for another character

var decimalPointIndex = value.indexOf(settings.decimal);

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

1 participant