Skip to content
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

InputNumber: Cut is not working anymore #7039

Closed
mpressmar opened this issue Aug 13, 2024 · 1 comment · Fixed by #7127
Closed

InputNumber: Cut is not working anymore #7039

mpressmar opened this issue Aug 13, 2024 · 1 comment · Fixed by #7127
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@mpressmar
Copy link
Contributor

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

@mpressmar mpressmar added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 13, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 13, 2024
@melloware
Copy link
Member

Most likely related to the Android keypress fixes...

@melloware melloware added the good first issue *** Welcome to PrimeReact Family! *** Good issue! label Aug 13, 2024
@melloware melloware added this to the 10.8.3 milestone Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants