eduardoborges / use-mask-input

✏️ A react Hook for build elegant input masks. Compatible with React Hook Form
https://npmjs.com/package/use-mask-input
333 stars 19 forks source link

Thanks for this package! 🙏 🎉 #34

Closed benjaminwaterlot closed 1 year ago

benjaminwaterlot commented 1 year ago

Hi Eduardo!

Just wanted to thank you for the lib - it seems to work very well (currently testing with 3.2.0 on Next.js), and I really think it's answering a need in the React ecosystem, where I searched for a while for a solution for input masking integrated with RHF.

It seems to work great both with uncontrolled inputs (using withHookFormMask) and controlled inputs (using RHF's Controller and ref={withMask(...))).

Thanks again!! 🙏

eduardoborges commented 1 year ago

Hi there!

Thank you so much for your kind words and feedback! I'm glad to hear that the library is working well for you and that it's fulfilling a need in the React ecosystem. It's always rewarding to know that my work is helping others.

I designed the library with integration in mind, especially with popular tools like React Hook Form (RHF).

If you have any further questions or suggestions, feel free to reach out. I'm here to help!

Thanks again, and happy coding! 🚀

focux commented 1 year ago

Great work @eduardoborges. Also, I was wondering how to use this with RHF's controlled inputs, thanks @benjaminwaterlot.