tanansatpal / ngx-mat-intl-tel-input

MIT License
62 stars 114 forks source link

node_modules/ngx-intl-tel-input/lib/ngx-intl-tel-input.component.d.ts(6,13): error TS1005: '=' expected. #76

Open aaroncustodio opened 4 years ago

aaroncustodio commented 4 years ago

image

I've installed all dependencies, added styles to angular.json, and imported NgxIntlTelInputModule to app.module.ts. Is there anything else I'm missing?

I'm on Angular 7.2.16, and typescript 3.1.6.

Jay-PC commented 4 years ago

Did you ever solve this? We are seeing the same thing.

nitin5599 commented 4 years ago

yes, I'm also facing the same problem...

aaroncustodio commented 4 years ago

Nope, haven't found a solution unfortunately.

Jay-PC commented 4 years ago

We are having some success with ng2-tel-input. It appears to have the same functionality, but works right out of the box. There's a super tutorial here: https://therichpost.com/how-to-validate-angular-9-input-phone-number/

ask-pepper commented 3 years ago

Make sure to import the module as it should solve the issue import { NgxMatIntlTelInputModule } from 'ngx-mat-intl-tel-input';

samoilenkoevgeniy commented 3 years ago

I solved this problem using the appropriate guide for my version.

I am using angular 8 and I just copied the package versions from https://stackblitz.com/edit/ngx-intl-tel-input-demo-ng-8?file=package.json and after that this problem disappeared.

Unfortunately, i didn't see any recommendations for angular 7 and just updated to 8.