Skip to content

Commit

Permalink
Merge 97d54ab into 25ad463
Browse files Browse the repository at this point in the history
  • Loading branch information
tlebreton committed Mar 18, 2024
2 parents 25ad463 + 97d54ab commit 323e84a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 75 deletions.
78 changes: 5 additions & 73 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -59,7 +59,7 @@
"@typescript-eslint/parser": "6.10.0",
"eslint": "^8.53.0",
"eslint-plugin-rxjs": "^5.0.2",
"intl-tel-input": "^19.0.0",
"intl-tel-input": "^20.0.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
Expand Down
2 changes: 2 additions & 0 deletions src/lib/components/intl-tel-input.component.spec.ts
Expand Up @@ -43,6 +43,7 @@ describe('IntlTelInputComponent', () => {

it('should convert phone number to E164 format', () => {
component.options = {
initialCountry: 'ch',
preferredCountries: ['ch'],
onlyCountries: ['ch', 'fr']
};
Expand All @@ -55,6 +56,7 @@ describe('IntlTelInputComponent', () => {

it('should re-set E164 phone number on countryChange', () => {
component.options = {
initialCountry: 'ch',
preferredCountries: ['ch'],
onlyCountries: ['ch', 'fr']
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/intl-tel-input.component.ts
Expand Up @@ -10,7 +10,7 @@
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';
import { ControlContainer, NgForm } from '@angular/forms';
import intlTelInput from 'intl-tel-input';
import { CountryData, IntlTelInputOptions } from '../model/intl-tel-input-options';
import { IntlTelInputOptions } from '../model/intl-tel-input-options';

@Component({
selector: 'intl-tel-input',
Expand Down

0 comments on commit 323e84a

Please sign in to comment.