typesnippet / antd-phone-input

Advanced, highly customizable phone input component for Ant Design.
https://playground.typesnippet.org/antd-phone-input-5.x/
MIT License
51 stars 10 forks source link

🪄 Enhancement - Get rid of react-phone-input-2 #53

Closed ArtyomVancyan closed 10 months ago

ArtyomVancyan commented 11 months ago

Summary

The problem is that some countries have area codes of different lengths, and for those should be used different input masks or, rather, dynamic masks. Currently, in the v0.2.4 release, the library leverages the bl00mber/react-phone-input-2 as its only dependency. It is not actively maintained anymore, that is why we should get rid of it.