Merge pull request #5372 from tsiegleauq/unset-gender

Allow unset gender in user form
This commit is contained in:
Emanuel Schütze 2020-05-14 15:18:00 +02:00 committed by GitHub
commit ee6076f168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@
<!-- Gender --> <!-- Gender -->
<mat-form-field class="form25 force-min-with"> <mat-form-field class="form25 force-min-with">
<mat-select placeholder="{{ 'Gender' | translate }}" formControlName="gender"> <mat-select placeholder="{{ 'Gender' | translate }}" formControlName="gender">
<mat-option>-</mat-option> <mat-option value="">-</mat-option>
<mat-option *ngFor="let gender of genderList" [value]="gender">{{ gender | translate }}</mat-option> <mat-option *ngFor="let gender of genderList" [value]="gender">{{ gender | translate }}</mat-option>
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>