Allow unset gender in user form

Fixes a bug that prevented the form from unsetting the gender value
This commit is contained in:
Sean 2020-05-14 14:53:44 +02:00
parent 0ee70b7434
commit 7609a0c3db
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
<!-- Gender -->
<mat-form-field class="form25 force-min-with">
<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-select>
</mat-form-field>