user culture display fix

This commit is contained in:
amentis 2024-05-13 15:28:23 +03:00
parent 953f59aeb3
commit c73e8b06f5
1 changed files with 2 additions and 2 deletions

View File

@ -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>