juanjotorres90 / ngx-material-intl-tel-input

Introducing an Angular library designed to streamline the input and validation of international telephone numbers.
https://www.npmjs.com/package/ngx-material-intl-tel-input
MIT License
10 stars 3 forks source link

HI can we remove phone icon #9

Closed abhinaykm closed 2 months ago

abhinaykm commented 3 months ago

HI can we remove phone icon <ngx-material-intl-tel-input [preferredCountries]="['in', 'us', 'nz']" [enablePlaceholder]="true" [enableSearch]="true" cssClass="country-selector" (countryChanged)="changeCountry($event)" [fieldControl]="phoneControl" [initialValue]="''" [textLabels]="textLabels"

juanjotorres90 commented 3 months ago

I will add an option to remove the phone icon in a future release.

For now you can use css just to hide it:

ngx-material-intl-tel-input::ng-deep { mat-icon { display: none; } }

juanjotorres90 commented 2 months ago

In the latest release(18.1.0) you can hide the phone icon with the option 'hidePhoneIcon'.