mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-21 23:14:26 +00:00
fix: country flag and phone now in sync (#6727)
* fix: country flag and phone now in sync * change default country --------- Co-authored-by: Elio Bischof <[email protected]> Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
Elio Bischof
parent
36eeae1071
commit
6f82285ad6
@@ -103,7 +103,12 @@
|
||||
<div class="phone-grid">
|
||||
<cnsl-form-field>
|
||||
<cnsl-label>{{ 'USER.PROFILE.COUNTRY' | translate }}</cnsl-label>
|
||||
<mat-select [(value)]="selected" (selectionChange)="setCountryCallingCode()" data-cy="country-calling-code">
|
||||
<mat-select
|
||||
[(value)]="selected"
|
||||
[compareWith]="compareCountries"
|
||||
(selectionChange)="setCountryCallingCode()"
|
||||
data-cy="country-calling-code"
|
||||
>
|
||||
<mat-select-trigger> <span class="fi fi-{{ selected?.countryCode | lowercase }}"></span></mat-select-trigger>
|
||||
<mat-option *ngFor="let country of countryPhoneCodes" [value]="country">
|
||||
<span class="fi fi-{{ country.countryCode | lowercase }}"></span>
|
||||
|
||||
Reference in New Issue
Block a user