cesarrew / ng2-currency-mask

A very simple currency mask directive that allows using a number attribute with the ngModel.
MIT License
235 stars 116 forks source link

ng2-currency-mask incompatible with Angular 11 #151

Closed suporte03 closed 3 years ago

suporte03 commented 3 years ago

Hi there. Angular 11 has just been released. As a good Angular developer, I'm starting to migrate my project to the version 11. Sadly, the only thing that happened is that the ng2-currency-mask library is not compatible with this version.

This is the screen when trying to update using: "ng update @angular/cli @angular/core @angular/compiler-cli": image

After using the --force parameter, I updated Angular, but the project does not compile: image

Anything I can do for this library to work on this version?

michaelwestphal commented 3 years ago

I utilize this library in an Angular 11 application successfully. Running ngcc appears to be the crucial step.

That said, I would love to see this library updated too! Until then I'll have to continue to use the --force flag with ng update.

cesarrew commented 3 years ago

Upgraded to Angular 11.