-
Notifications
You must be signed in to change notification settings - Fork 329
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
Pasting negative numbers, or negative ngmodel... #102
Labels
Comments
The built in behavior for entering negative values is not very natural. The user is forced to enter a number first before they press - to convert it to a negative number. Ideally it should allow the user -99999 in that order. |
+1 for allowing user to enter negative sign first |
+2 for allowing user to enter negative sign first |
@kjavia I fixed that behavior! I'll do a PR. |
@jlNery thanks. +1 |
the fix was merged? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello ppl, the ng-negative-number work only if you input the '-' char... but if you paste a negative number or change the ng-model to a negative value, it won´t work...
I am issuing this, because i need to change a money mask positive or negative acording to the dynamic calc of several fields... And thus can give me a ng-model positive or negative... but the field only gets the int and ignores the '-' from the model.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24891651-pasting-negative-numbers-or-negative-ngmodel?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: