InputNumber: Cut is not working anymore #7039
Labels
good first issue
*** Welcome to PrimeReact Family! *** Good issue!
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
In earlier versions of PR cutting the entire value with the key combination from an InputNumber field removed the value, now it leaves part or the entire value in the field.
In the Stackblitz linked, enter a number such as "12", select the entire string and hit the keyboard combination to cut.
Also: Enter a number such as "12345", and try doing it twice, the second time cutting won't have any effect.
I couldn't find any workaround for this issue as all the onChange/onValueChange handlers emit the incorrect value.
Reproducer
https://stackblitz.com/edit/micugn-eue6m2?file=src%2FApp.jsx
System Information
Primereact 10.8.0, Linux Mint, Firefox
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: