Component: InputNumber. Currency mode has issues with input / cursor position. #17073
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Milestone
Describe the bug
This was reported earlier (in an issue that was closed) and is still a problem: #14227 (comment)
The currency mode for the InputNumber component has some issues. If you try to type a negative number in the field for Germany the cursor jumps after 1 character and the field becomes impossible to use properly without clearing it first.
Environment
https://primeng.org/inputnumber#currency. Has been an issue for many versions and is still an issue in PrimeNG v 18.
Reproducer
https://primeng.org/inputnumber#currency
Angular version
Whatever the official page uses.
PrimeNG version
Whatever the official page uses (Tested in v18 and earlier).
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
Whatever the official page uses.
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
I expect the currency mode to work properly. It should not be difficult/impossible to work with negative numbers.
The text was updated successfully, but these errors were encountered: