InputNumber - unable to enter negative with minFractionDigits set #9516
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/github/primefaces/primeng-issue-template?file=src%2Fapp%2Fapp.component.html
Current behavior
When
minFractionDigits
is > 0, entering a-
jumps the cursor to the end of the display.For example:
-1
, the value jumps to-1.00
, and the cursor is at the end of the field1.22
- the value is allowed to be entered correctly.Expected behavior
The cursor should not move after filling in the number of the
-
sign.Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: