Angular international phone number with country code and flag [closed]

梦想与她 提交于 2019-12-03 01:51:37

https://github.com/webcat12345/ngx-intl-tel-input

I started creating library for this but not finished. You can contribute to my repository. Anyway basic concept of component is already finished and make any changes.

https://www.npmjs.com/package/ngx-intl-tel-input

Gihub

I'm using this library in my project it will help and International Telephone Input. This is also very helpful to you.

 Features:-
   1.Automatically select the user's current country using an IP lookup
   2.Automatically set the input placeholder to an example number for the selected country
   3.Navigate the country dropdown by typing a country's name, or using up/down keys
   4.Handle phone number extensions
   5.The user types their national number and the plugin gives you the full 
   standardized international number
   6.Full validation, including specific error types
   Retina flag icons
   7.Lots of initialisation options for customisation, as well as public methods 
for interaction

There is no out of box solution right now. So you can try to wrap jQuery solution with a directive and use it across the project. Here is NPM module link.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!