
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
intl-tel-input-ng
Advanced tools
[](https://travis-ci.org/mpalourdio/intl-tel-input-ng) [](https:
Use the fork, Luke. PR without tests will likely not be merged.
It's an angular component to easily integrate intl-tel-input.
To install this library, run:
# install intl-tel-input
$ npm install intl-tel-input --save / yarn add intl-tel-input
# install this module
$ npm install intl-tel-input-ng --save / yarn add intl-tel-input-ng
node_modules/intl-tel-input/build/js/utils.js
to the scripts
section in your angular.json
.node_modules/intl-tel-input/build/css/intlTelInput.css
to the styles
section in your angular.json
.IntlTelInputNgModule.forRoot()
in your main application module.options
: An object wrapping the intl-tel-input
options.onlyLocalized
: If true
, displays only localized country data. See here.label
: If specified, will generate a label
for the input (if the name option is set too).name
: Sets name
and id
attributes for the input. The default value is intl-tel-input-name
.cssClass
: The CSS class used to style the input component.labelCssClass
: The CSS class used to style the label associated to the input.required
: Sets the required
&& aria-required
attributes for the input.[(E164PhoneNumber)]
: Outputs the phone number in E164 format if valid.See the intl-tel-input repository for more documentation.
The component must be declared between <form>
tags !
<form #form="ngForm">
<intl-tel-input
[label]="'Please enter your phone number'"
[name]="'my-name'"
[cssClass]="'form-control'"
[labelCssClass]="'col-sm-2 col-form-label'"
[required]="true"
[options]="{
preferredCountries: ['ch'],
localizedCountries: { ch: 'Suisse' },
onlyCountries: ['fr', 'ch']
}"
[onlyLocalized]="true"
[(E164PhoneNumber)]="E164PhoneNumber"></intl-tel-input>
</form>
FAQs
[](https://github.com/mpalourdio/ng-http-loader/actions/workflows/main.yml) [![Coverage Status](https://coveralls.io/repos/github/mpalourdio/intl-tel-input-ng/badge.sv
The npm package intl-tel-input-ng receives a total of 650 weekly downloads. As such, intl-tel-input-ng popularity was classified as not popular.
We found that intl-tel-input-ng demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.