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

[bug] inputnumber: duplicated numbers, cannot delete numbers #4080

Closed
Hulkmaster opened this issue Jun 23, 2023 · 2 comments
Closed

[bug] inputnumber: duplicated numbers, cannot delete numbers #4080

Hulkmaster opened this issue Jun 23, 2023 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@Hulkmaster
Copy link

Describe the bug

https://github.com/primefaces/primevue/assets/2781622/1e0d7381-cd3e-4c4b-b009-465091459652
(in the video i use only 2 buttons: "2" and "backspace", i do not use arrows)

repro here: https://primevue.org/inputnumber/#prefixsuffix

try to just input number "2", and then try to delete it with backspace.

First: extra "2" is added whenever comman is added, so when you add forth "2" - you see that five "2" appears.

When i try to delete them - caret position also is somehow offsetted when "comma" is removed

Reproducer

https://primevue.org/inputnumber/#prefixsuffix

PrimeVue version

3.29.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Version 114.0.5735.133 (Official Build) (arm64)

Steps to reproduce the behavior

in description

Expected behavior

no extra numbers are added; backspace deletes 2 number at a time

@Hulkmaster Hulkmaster added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 23, 2023
@Hulkmaster Hulkmaster changed the title inputnumber: duplicated numbers, cannot delete numbers [bug] inputnumber: duplicated numbers, cannot delete numbers Jun 23, 2023
@Ancient-Dragon
Copy link
Contributor

See this issue: #3382 , it was just fixed today but hasn't been released yet.

@Hulkmaster
Copy link
Author

yeah, seems to be so

closed with #3999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants