diff --git a/projects/common/components/input-elements/dropdown.component.ts b/projects/common/components/input-elements/dropdown.component.ts index ee33d1257b9d6245c502f397e9707c9a74d6257e..865074db80cfee14d6c20486d17888ae6722bf11 100644 --- a/projects/common/components/input-elements/dropdown.component.ts +++ b/projects/common/components/input-elements/dropdown.component.ts @@ -19,7 +19,7 @@ import { FormElementComponent } from '../../directives/form-element-component.di {{$any(elementModel).label}} </mat-label> <mat-select [formControl]="elementFormControl" [value]="elementModel.value"> - <mat-option *ngIf="elementModel.allowUnset" value="" + <mat-option *ngIf="elementModel.allowUnset" [value]="null" [style.pointer-events]="elementModel.readOnly ? 'none' : 'unset'" (click)="$event.preventDefault()"> </mat-option>