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: Enter leading 0 when using prefix/suffix #5234

Closed
melloware opened this issue Nov 3, 2023 · 0 comments · Fixed by #5232
Closed

InputNumber: Enter leading 0 when using prefix/suffix #5234

melloware opened this issue Nov 3, 2023 · 0 comments · Fixed by #5232
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@melloware
Copy link
Member

Describe the bug

Reported at PrimeVue: primefaces/primevue#4539

Same bug exists in PrimeReact

Reproducer

No response

PrimeReact version

10.0.9

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to https://primereact.org/inputnumber/#prefixsuffix
  2. Find the input field labeled as Expiry
  3. Delete the content of the input and type 012345
  4. See the input now has value 345 instead of what you typed

Expected behavior

No response

@melloware melloware added Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible 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 Nov 3, 2023
@melloware melloware added this to the 10.0.10 milestone Nov 3, 2023
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 3, 2023
@melloware melloware removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 3, 2023
melloware added a commit to melloware/primereact that referenced this issue Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant