You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the value prop provided to <InputNumber/> isn't always correctly used.
The user can also think he's writing a value greater than the max value, because it's checked on blur.
The value can be outdated even after component blur.
Describe the bug
It seems that the value prop provided to
<InputNumber/>
isn't always correctly used.The user can also think he's writing a value greater than the
max
value, because it's checked on blur.The value can be outdated even after component blur.
Reproducer
https://codesandbox.io/p/sandbox/charming-sea-99c8lj?file=%2Fsrc%2Fdemo%2FInputNumberDemo.js%3A28%2C21
PrimeReact version
9.3.1
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
max
.value
prop is fixed.The text was updated successfully, but these errors were encountered: