From 1cdfa4197c006acee8fe1f16ada278a3476f8bcc Mon Sep 17 00:00:00 2001
From: jojohoch <joachim.hoch@iqb.hu-berlin.de>
Date: Fri, 14 Jan 2022 08:24:57 +0100
Subject: [PATCH] Start the valid value range for DropDown at 1

---
 projects/common/ui-elements/dropdown/dropdown.component.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/common/ui-elements/dropdown/dropdown.component.ts b/projects/common/ui-elements/dropdown/dropdown.component.ts
index f53e886d9..b6494c1ab 100644
--- a/projects/common/ui-elements/dropdown/dropdown.component.ts
+++ b/projects/common/ui-elements/dropdown/dropdown.component.ts
@@ -24,7 +24,7 @@ import { DropdownElement } from './dropdown-element';
                     [style.pointer-events]="elementModel.readOnly ? 'none' : 'unset'"
                     (click)="$event.preventDefault()">
         </mat-option>
-        <mat-option *ngFor="let option of elementModel.options; let i = index" [value]="i"
+        <mat-option *ngFor="let option of elementModel.options; let i = index" [value]="i + 1"
                     [style.pointer-events]="elementModel.readOnly ? 'none' : 'unset'">
           {{option}}
         </mat-option>
-- 
GitLab