Skip to content

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