user culture display fix
This commit is contained in:
parent
953f59aeb3
commit
c73e8b06f5
|
@ -174,8 +174,8 @@
|
||||||
<div class="col culture-form">
|
<div class="col culture-form">
|
||||||
<mat-form-field class="w-100">
|
<mat-form-field class="w-100">
|
||||||
<input type="text" placeholder="{{'USER-PROFILE.SETTINGS.CULTURE' | translate}}" [formControl]="this.formGroup.get('additionalInfo').get('culture')" matInput [matAutocomplete]="culture" required>
|
<input type="text" placeholder="{{'USER-PROFILE.SETTINGS.CULTURE' | translate}}" [formControl]="this.formGroup.get('additionalInfo').get('culture')" matInput [matAutocomplete]="culture" required>
|
||||||
<mat-autocomplete #culture="matAutocomplete" [displayWith]="displayFn">
|
<mat-autocomplete #culture="matAutocomplete" [displayWith]="displayFn(culture)">
|
||||||
<mat-option *ngFor="let culture of cultures | async" [value]="culture">
|
<mat-option *ngFor="let culture of cultures | async" [value]="displayFn(culture)">
|
||||||
{{ culture.displayName }} - {{ culture.nativeName }}
|
{{ culture.displayName }} - {{ culture.nativeName }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-autocomplete>
|
</mat-autocomplete>
|
||||||
|
|
Loading…
Reference in New Issue