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
Current behavior
Write 66 in field, handleOnChange check that input value is >59 so it write 00 in state, InputMask read the new state but field don't update the content.
Expected behavior
If you write a number higher than 59 InputMask should show 00.
Write 66, handleOnChange check that is higher than 59, write 00 in the state and field should show 00 instead of 66.
Minimal reproduction of the problem with instructions
Write 66 in input, handle check that input value is wrong and write 00 in state. Field should update the value but it doesn't
Please tell us about your environment:
React version: 16
PrimeReact version: 1.4.0
Browser: Chrome 70.0.3538.110
Language: ES6/7
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
Plunkr Case (Bug Reports)
https://plnkr.co/edit/S7U2FLkJ2dRhi5HhlBXr?p=preview
Current behavior
Write 66 in field, handleOnChange check that input value is >59 so it write 00 in state, InputMask read the new state but field don't update the content.
Expected behavior
If you write a number higher than 59 InputMask should show 00.
Write 66, handleOnChange check that is higher than 59, write 00 in the state and field should show 00 instead of 66.
Minimal reproduction of the problem with instructions
Write 66 in input, handle check that input value is wrong and write 00 in state. Field should update the value but it doesn't
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: