Closed iFederx closed 3 years ago
Solved
I figured it out. The solution is not optimal but okay. You have to look into node_modules\intl-tel-input\build\css\intlTelInput.css file and add your new css file in your project this:
:host ::ng-deep .iti {
position: relative;
display: inline-block;
width: 100%;
}
Solved
How did you solve it?
Easier to just add an id to the component:
<ngx-intl-tel-input id="mobileNumber">
and then add in your css something like:
#mobileNumber .iti {
width: 100%;
}
Hi, is there a way to set the width of the form control? I tried passing a class to
cssClass
withwidth: 100%
, but it doesn't work. Any suggestion? :) Thanks