2017-05-31 25 views
7

私のアングルアプリケーションでは、私は国旗と妥当性検査で国際電話番号フィールドを実装しようとしています。この国コードと国旗を含む国際電話番号

https://github.com/hodgepodgers/ng-intl-tel-input とそのデモサイト検索の多くは、角度のための任意のものを得ていない後 http://hodgepodgers.github.io/ng-intl-tel-input/

のように同じに同じ 。

+1

正確には何ですか?手の込んだ! – Aravind

+0

これがありますが、それはフラグであなたを助けることはありません:https://www.npmjs.com/package/ng2-tel-input –

+0

これもjqueryで使用することができますhttps://github.com/jackocnr/intl-tel-input –

答えて

1

現在のところ、すぐに使用できるソリューションはありません。したがって、jQueryソリューションをディレクティブでラップし、プロジェクト全体で使用することができます。ここにはNPM module linkがあります。

6

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

私はこのために、ライブラリを作成始めたが、終了していません。私のリポジトリに貢献することができます。とにかく、コンポーネントの基本的なコンセプトは既に完成しており、変更を加えています。

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

+0

Wowwww ..おかげで黒人、いいstart.yea基本が準備されています。私は貢献しようとします。 – Manu

+0

私はどんな進歩についても、私を更新し続ける。 – Manu

3

Gihub

私はそれが役立つと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 
+1

これはJava向けですが、私はAngularJSのために利用できるように、Angularのクライアント側のみを探しています - https://github.com/hodgepodgers/ng-intl-tel-input – Manu

関連する問題