Inputmask
Inputmask copied to clipboard
React onChange event doesn't work properly after clean value
To Reproduce Steps to reproduce the behavior:
- Go to https://jsfiddle.net/yogin/n5u2wwjg/224181/
- Enter one symbol to field
- Press
CleanUp
button - Enter one the same symbol to to field - As U can see - the state not updating.
- Enter one more symbol
- As U can see - state updating and now we can find both symbols here.
Expected behavior State of Component updating after entering the first symbol in step 4
Live example https://jsfiddle.net/yogin/n5u2wwjg/224181/
Desktop (please complete the following information):
- OS: MacOS
- Browser: Chrome
- Version: Version 69.0.3497.100 (Official Build) (64-bit)
Additional context
In the JQuery version of lib React onChange not working absolutely.
So I use dependencyLibs/inputmask.dependencyLib.js Version: 4.0.3-beta.4
and inputmask.js Version: 4.0.3-beta.4
.
Check it in the jsfiddle example.
Maybe this problem connected to this bug https://github.com/RobinHerbots/Inputmask/issues/1377
Just tried it, it's working..
Here GIF video for example: https://monosnap.com/file/4HhZxjddg8F9azpUG6Xgkpk97Mxdyg
The link isn't opening for me 😩 Would you mind sending a Google Drive link?
https://drive.google.com/open?id=1OHOPN6HqzmIA8l1ip9sksBfDe4tWP3hP
https://www.dropbox.com/s/8b2il4joug4t78h/inputmask.gif?dl=0
Hey guys, Any update on this issue?
@RobinHerbots Can you please help with this?