From 49dd156e201677106853c0c734d10d6143b132a7 Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Wed, 8 May 2024 14:11:09 +0300 Subject: [PATCH] fixed validation issue of boolean decision --- .../src/app/ui/description/editor/description-editor.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmp-frontend/src/app/ui/description/editor/description-editor.model.ts b/dmp-frontend/src/app/ui/description/editor/description-editor.model.ts index 7c82915c3..7615c9de6 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-editor.model.ts +++ b/dmp-frontend/src/app/ui/description/editor/description-editor.model.ts @@ -714,7 +714,6 @@ export class DescriptionFieldIndicator { switch (type) { case DescriptionTemplateFieldType.FREE_TEXT: - case DescriptionTemplateFieldType.BOOLEAN_DECISION: case DescriptionTemplateFieldType.TEXT_AREA: case DescriptionTemplateFieldType.UPLOAD: case DescriptionTemplateFieldType.RICH_TEXT_AREA: @@ -728,6 +727,7 @@ export class DescriptionFieldIndicator { this.type = "dateValue"; break; case DescriptionTemplateFieldType.CHECK_BOX: + case DescriptionTemplateFieldType.BOOLEAN_DECISION: case DescriptionTemplateFieldType.RADIO_BOX: this.type = "booleanValue"; break;