Skip to content
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

Open
zlanich opened this issue Oct 21, 2023 · 4 comments
Open

*** ABANDONED - Use react-imask *** #318

zlanich opened this issue Oct 21, 2023 · 4 comments

Comments

@zlanich
Copy link

zlanich commented Oct 21, 2023

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.

@johanguse
Copy link

Guys, you can use this fork... https://github.com/mona-health/react-input-mask/

@1TheMuffinMan
Copy link

@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.

@joshshowalter
Copy link

@johanguse is there typescript support for that?

@1TheMuffinMan
Copy link

1TheMuffinMan commented Nov 12, 2024

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants