webcat12345 / ngx-intl-tel-input

Phone number input field to support international numbers, Angular
MIT License
213 stars 335 forks source link

flags doesn't appear in 9/10/11 angular version #424

Open firadisaad opened 2 years ago

firadisaad commented 2 years ago

Hello everyone,

we have a problem to display the flags in the angular 9/10/10 project, (you can test it here)

Stackblitz Demo (Angular 9) Stackblitz Demo (Angular 10) Stackblitz Demo (Angular 11)

I notice that in the 9/10/11 version we use a relative url in background-image, and in the Angular 8/12 version we use a base64 as backgroung-image.

I checked in intl-tel-input repo,I found that they always use a relative url.

used class(.iti__flag)

Thanks in advance.

Epameinondas-Theodoropoulos commented 2 years ago

I have the same issue. No flags and definitely no validation in the phone numbers. And no code in the begining

houcinee1 commented 2 years ago

Hello,

You have to add the following line in your html :

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.8/css/intlTelInput.css" />

Best regards