From 4dda98c4659ea11fb0d02e8ddc0d6ff7ded88380 Mon Sep 17 00:00:00 2001
From: jojohoch <joachim.hoch@iqb.hu-berlin.de>
Date: Mon, 29 Aug 2022 11:33:23 +0200
Subject: [PATCH] Fix the display of values of DropListSimpleElements

DragNDropValueObject no longer has the stringValue property
but a TextLabel with text
---
 .../cloze/cloze-child-elements/drop-list-simple.component.ts  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/common/components/compound-elements/cloze/cloze-child-elements/drop-list-simple.component.ts b/projects/common/components/compound-elements/cloze/cloze-child-elements/drop-list-simple.component.ts
index 12351f167..9572684a7 100644
--- a/projects/common/components/compound-elements/cloze/cloze-child-elements/drop-list-simple.component.ts
+++ b/projects/common/components/compound-elements/cloze/cloze-child-elements/drop-list-simple.component.ts
@@ -53,12 +53,12 @@ import { DragNDropValueObject } from 'common/models/elements/element';
             <div *cdkDragPreview
                  [style.font-size.px]="elementModel.styling.fontSize"
                  [style.background-color]="elementModel.styling.itemBackgroundColor">
-              {{value.stringValue}}
+              {{value.text}}
             </div>
             <div class="drag-placeholder" *cdkDragPlaceholder
                  [style.min-height.px]="elementModel.styling.fontSize">
             </div>
-            {{value.stringValue}}
+            {{value.text}}
           </div>
         </ng-template>
       </div>
-- 
GitLab