You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
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.
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-imaskworks 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
prepareprop for that.