changhuixu / ngx-digit-only

An Angular directive to only allow [0-9] in the input box when typing, pasting or drag/dropping.
https://changhuixu.github.io/ngx-digit-only/
MIT License
161 stars 70 forks source link

angular 10 compatibility #37

Closed lilletech closed 4 years ago

lilletech commented 4 years ago

when trying to update from angular 9 to 10. I've got this error:

Package "@uiowa/digit-only" has an incompatible peer dependency to "tslib" (requires "^1.10.0", would install "2.0.0")

changhuixu commented 4 years ago

Hi @lilletech Thanks for reporting. I have released v2.0.0. Could you give it a try and let me know if it works for you? Thanks again.

lilletech commented 4 years ago

Some other libraries show me also errors, so i cannot test but i don't have errors anymore about digit-only. Thanks ;-)