InputNumber: Cannot delete character with backspace after inserting Up Arrowhead ^ #16607
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
When accidentially entering an Up Arrowhead
^
into an InputNumber, it is no longer possible to delete it usingBackspace
. I first have to navigate the cursor withArrowLeft
to the position before the^
until I can delete again usingBackspace
. Also, in this case, pressingBackspace
once will delete the entrie value, not digit by digit.Environment
PrimeNG: 17.18.11
Reproducer
https://stackblitz.com/edit/zlhnsq?file=package.json
Angular version
18.2.3
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.1
Browser(s)
Firefox 131.0.3, Chrome 129.0.6668.101
Steps to reproduce the behavior
^
on your keyboard andSpace
Backspace
ArrowLeft
and now pressBackspace
. Now the whole value is deleted.Expected behavior
InputNumber should not allow inserting Up Arrowhead
^
.Pressing
Backspace
should delete any character in an InputNumber.Also, pressing
Backspace
once should not delete the entire value, but digit by digit.The text was updated successfully, but these errors were encountered: