私のアングルアプリケーションでは、私は国旗と妥当性検査で国際電話番号フィールドを実装しようとしています。この国コードと国旗を含む国際電話番号
https://github.com/hodgepodgers/ng-intl-tel-input とそのデモサイト検索の多くは、角度のための任意のものを得ていない後 http://hodgepodgers.github.io/ng-intl-tel-input/
のように同じに同じ 。
私のアングルアプリケーションでは、私は国旗と妥当性検査で国際電話番号フィールドを実装しようとしています。この国コードと国旗を含む国際電話番号
https://github.com/hodgepodgers/ng-intl-tel-input とそのデモサイト検索の多くは、角度のための任意のものを得ていない後 http://hodgepodgers.github.io/ng-intl-tel-input/
のように同じに同じ 。
現在のところ、すぐに使用できるソリューションはありません。したがって、jQueryソリューションをディレクティブでラップし、プロジェクト全体で使用することができます。ここにはNPM module linkがあります。
https://github.com/webcat12345/ngx-intl-tel-input
私はこのために、ライブラリを作成始めたが、終了していません。私のリポジトリに貢献することができます。とにかく、コンポーネントの基本的なコンセプトは既に完成しており、変更を加えています。
私はそれが役立つとInternational Telephone Inputう私のプロジェクトでは、このライブラリを使用しています。これはあなたにとっても非常に役に立ちます。
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
これはJava向けですが、私はAngularJSのために利用できるように、Angularのクライアント側のみを探しています - https://github.com/hodgepodgers/ng-intl-tel-input – Manu
正確には何ですか?手の込んだ! – Aravind
これがありますが、それはフラグであなたを助けることはありません:https://www.npmjs.com/package/ng2-tel-input –
これもjqueryで使用することができますhttps://github.com/jackocnr/intl-tel-input –