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 accepting letters and deleting previus value #2532

Closed
IHPNULL opened this issue Dec 16, 2021 · 5 comments
Closed

InputNumber accepting letters and deleting previus value #2532

IHPNULL opened this issue Dec 16, 2021 · 5 comments

Comments

@IHPNULL
Copy link

IHPNULL commented Dec 16, 2021

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)

https://codesandbox.io/s/primereact-test-forked-i946f?file=/src/index.js

Current behavior
When use the InputNumber and try input a letter

Expected behavior
Never appear a letter on InputNumber

Minimal reproduction of the problem with instructions

Create a InputNumber, set a min and then try to input a number value and then input any letter

https://codesandbox.io/s/qjx332qq4

Please tell us about your environment:
Windows 10
node 16.13.0
react 17.0.2
primeReact 7.0.1

React version:
react 17.0.2

PrimeReact version:
primeReact 7.1.0

Browser:

[ Chrome XX ]

Language: [ES6/7]

@ursfan
Copy link

ursfan commented Mar 2, 2022

With PrimeReact v7.2.1 it is fixed.

@melloware
Copy link
Member

@IHPNULL can you verify your issues are fixed in 7.2.1 and if so close this ticket and your PR? I tested your reproducer above on 7.2.1 and it seems fixed. But make sure to test special characters like Umlaut's etc like we did in your PR.

@IHPNULL
Copy link
Author

IHPNULL commented Mar 2, 2022 via email

@IHPNULL
Copy link
Author

IHPNULL commented Mar 7, 2022

I tested today and everything is working great, i'll close PR and tickets, Thanks guys.

@IHPNULL IHPNULL closed this as completed Mar 7, 2022
@IHPNULL
Copy link
Author

IHPNULL commented Mar 7, 2022

Everything is great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants