sanniassin / react-input-mask

Input masking component for React. Made with attention to UX.
MIT License
2.21k stars 257 forks source link

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

Open zlanich opened 8 months ago

zlanich commented 8 months ago

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 commented 7 months ago

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

1TheMuffinMan commented 1 month ago

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