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 for non-US separators bug #119

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

stevevg
Copy link

@stevevg stevevg commented Sep 23, 2016

On a502e75 version, if I set a different thousands separator than "," and insert a number > 1000,
then delete a decimal number, the input field is reset.

For example, if I set
decimal separator: , (comma)
thousands separator: . (dot)
and type 1.234,56

If I try to delete the number 5 (both with backspace or delete key), the input field is reset.

This commit fixes this bug.

Moreover, I added the numpad "." as a decimal separator, even if "." is not the decimal separator (credits for this go to ToX82/jquery-number@333e19c)

Stefano and others added 2 commits September 23, 2016 13:03
…tor even if different separators are set, fixed bug where pressing backspace or delete button on decimals numbers when integer part is > 1000 (and thousand separator != ",") caused the field to reset.
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

Successfully merging this pull request may close these issues.

1 participant