sanniassin / react-input-mask

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

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

Open zlanich opened 1 year ago

zlanich commented 1 year 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 11 months ago

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

1TheMuffinMan commented 6 months 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.

joshshowalter commented 2 weeks ago

@johanguse is there typescript support for that?

1TheMuffinMan commented 2 weeks ago

@joshshowalter yes, it's a fork of the old library but now it works properly