From 6b4ad04d92c9e040e77415f294a798ece311c757 Mon Sep 17 00:00:00 2001 From: wiktord2000 Date: Tue, 11 Jun 2024 15:58:21 +0200 Subject: [PATCH] AAE-22947 Remove comments --- .../form/components/widgets/core/form-field.model.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/core/src/lib/form/components/widgets/core/form-field.model.ts b/lib/core/src/lib/form/components/widgets/core/form-field.model.ts index 84f0647723..79decf0f0e 100644 --- a/lib/core/src/lib/form/components/widgets/core/form-field.model.ts +++ b/lib/core/src/lib/form/components/widgets/core/form-field.model.ts @@ -306,11 +306,6 @@ export class FormFieldModel extends FormWidgetModel { parseValue(json: any): any { let value = Object.prototype.hasOwnProperty.call(json, 'value') && json.value !== undefined ? json.value : null; - /* - This is needed due to Activiti issue related to reading dropdown values as value string - but saving back as object: { id: , name: } - Side note: Probably not valid anymore - */ if (json.type === FormFieldTypes.DROPDOWN) { if (this.hasEmptyValue && value === null) { if (!this.emptyValueOption) { @@ -341,11 +336,6 @@ export class FormFieldModel extends FormWidgetModel { return null; } - /* - This is needed due to Activiti issue related to reading radio button values as value string - but saving back as object: { id: , name: } - Side note: Probably not valid anymore - */ if (json.type === FormFieldTypes.RADIO_BUTTONS) { // Activiti has a bug with default radio button value where initial selection passed as `name` value // so try resolving current one with a fallback to first entry via name or id