ngx-mat-intl-tel-input icon indicating copy to clipboard operation
ngx-mat-intl-tel-input copied to clipboard

Have to remove Languages

Open jawahar95 opened this issue 4 years ago • 2 comments

Hi am using this package in my application I need to remove the languages for country dropdown oie_LQHHLyzEwp7S ropdown

jawahar95 avatar Sep 04 '20 14:09 jawahar95

@jawahar95 if you mean removing the word in brackets, I'm doing it like this (simplified):

@ViewChild(NgxMatIntlTelInputComponent) phoneInput: NgxMatIntlTelInputComponent;
ngAfterViewChecked(): void {
    this.phoneInput?.allCountries.forEach((country) => country.name.replace(/( \(.*\))$/, ''));
}

Kichrum avatar Sep 10 '20 07:09 Kichrum

It won't work

jawahar95 avatar Sep 24 '20 05:09 jawahar95