ngx-mat-intl-tel-input icon indicating copy to clipboard operation
ngx-mat-intl-tel-input copied to clipboard

Compatibility with Angular 11

Open pasblin opened this issue 4 years ago • 6 comments

hi, could you give it compatibility with angular 11?.

Regards.

pasblin avatar Nov 14 '20 07:11 pasblin

yes plz update this lib package for angular 11 so we will able to update angular 10 , 9 to 11

emps avatar Dec 01 '20 12:12 emps

Hi,

What is the status of this issue?

Is it planned to solve it in the short term?

Regards.

pasblin avatar Jan 13 '21 14:01 pasblin

i suggest untill this repo get updated , u can always uninstall this lib and then install back

npm uninstall ngx-mat-intl-tel-input git add . -A git commit -m "before ng update" ng update @angular/cli @angular/core npm install --save ngx-mat-intl-tel-input

emps avatar Jan 20 '21 17:01 emps

I've updated my package to the 4.0.0 in order to have compatibility with Angular 11, but strangely, I keep on getting warnings during install:

npm WARN [email protected] requires a peer of @angular/common@~9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@~9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/forms@~9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/platform-browser@~9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/platform-browser-dynamic@~9.0.0 but none is installed. You must install peer dependencies yourself.

When I look in my node_modules/ngx-mat-intl-tel-input/package.json, I can still see references to Angular 9:

...
  "name": "ngx-mat-intl-tel-input",
  "peerDependencies": {
    "@angular/common": "~9.0.0",
    "@angular/core": "~9.0.0",
    "@angular/forms": "~9.0.0",
    "@angular/platform-browser": "~9.0.0",
    "@angular/platform-browser-dynamic": "~9.0.0",
    "libphonenumber-js": "^1.7.25"
  },
...

Any idea for those warnings ? problem when publishing this package ?

I've tried to remove completely my node_modules and install it back again, but still same problem

Thanks

jdespatis avatar Feb 03 '21 11:02 jdespatis

Not compatible with angular 11.1.0 yet?

pasblin avatar Feb 14 '21 17:02 pasblin

I pushed up a pull request to fix these issues.

nbaker82 avatar Mar 17 '21 14:03 nbaker82