Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

React onChange event doesn't work properly after clean value

Open YoginAlex opened this issue 6 years ago • 6 comments

To Reproduce Steps to reproduce the behavior:

  1. Go to https://jsfiddle.net/yogin/n5u2wwjg/224181/
  2. Enter one symbol to field
  3. Press CleanUp button
  4. Enter one the same symbol to to field - As U can see - the state not updating.
  5. 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

YoginAlex avatar Oct 27 '18 14:10 YoginAlex

Just tried it, it's working..

thelebdev avatar Nov 09 '18 09:11 thelebdev

Here GIF video for example: https://monosnap.com/file/4HhZxjddg8F9azpUG6Xgkpk97Mxdyg

YoginAlex avatar Nov 09 '18 10:11 YoginAlex

The link isn't opening for me 😩 Would you mind sending a Google Drive link?

thelebdev avatar Nov 12 '18 08:11 thelebdev

Hey guys, Any update on this issue?

prathick avatar Jul 06 '21 22:07 prathick

@RobinHerbots Can you please help with this?

bhoomika911 avatar Jul 12 '21 21:07 bhoomika911