-
Notifications
You must be signed in to change notification settings - Fork 256
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
*** ABANDONED - Use react-imask *** #318
Comments
Guys, you can use this fork... https://github.com/mona-health/react-input-mask/ |
@johanguse I was lucky to stumble across this issue/comment. I wish you could get access to the original on NPM.com and put a comment directing people to your fork. |
@johanguse is there typescript support for that? |
@joshshowalter yes, it's a fork of the old library but now it works properly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey all! There are a ton of comments on this library, and I've had a lot of issues with it. One of the issues recommends using https://github.com/uNmAnNeR/imaskjs/tree/master/packages/react-imask, and I would also recommend this.
react-imask
works very well for us.It's a bit of work to figure out how to use all of it, but one thing I had to dig for was parsing the value before the masking occurs (ie. Parsing a pasted value and modifying it). Use the
prepare
prop for that.The text was updated successfully, but these errors were encountered: