webcat12345 / ngx-intl-tel-input

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

not working with ngx bootstrap 7,8 #422

Open MahmoudElgml opened 2 years ago

MahmoudElgml commented 2 years ago

needs the newly updated debendencies to match ngx bootstrap 7 the current last updated only works with version 6

MahmoudElgml commented 2 years ago

the only way to make it work is to force install the library to properly work with ngx-bootstrap 7 and above as the same styles apply but in some css design you may need to set the padding to 0 in order to match ngx-bootstrap 7 or 8 css styling

Gubancs commented 2 years ago

It works for me but I'm getting this warning while installing dependencies with yarn: warning " > ngx-intl-tel-input@3.2.0" has incorrect peer dependency "ngx-bootstrap@^6.0.0".

DaanDL commented 2 years ago

I have the same problem, output I'm getting is:

npm ERR! Could not resolve dependency: npm ERR! peer ngx-bootstrap@"^6.0.0" from ngx-intl-tel-input@3.2.0

Angular 13 requires ngx-bootstrap@8 so switching to 6 is no option for me.

MahmoudElgml commented 2 years ago

the same with me so i had to force install ngx-intl-tel-input with -force flag and it will read the bootstrap styles from any version you have but it would need some extra design tweaks

l4nos commented 10 months ago

None of these things are fixes, workarounds, can someone please just update the package.json to support 6 and above as the documentation claims.

It's important to understand the difference between caret versioning (^) and greater than (> / >=) versioning.

= instead of ^ would have bee appropraite here.