diff --git a/projects/common/services/sanitization.service.ts b/projects/common/services/sanitization.service.ts index 8b67c12b40cd097b21ceaf7e0ea71b2f9cb58c7f..3bc7b16802d934cd4685b03797404528f994fea3 100644 --- a/projects/common/services/sanitization.service.ts +++ b/projects/common/services/sanitization.service.ts @@ -107,8 +107,7 @@ export class SanitizationService { if (newElement.type === 'toggle-button') { newElement = SanitizationService.handleToggleButtonElement(newElement as ToggleButtonElement); } - // TODO: drop-list-simple? - if (newElement.type === 'drop-list') { + if (['drop-list', 'drop-list-simple'].includes(newElement.type as string)) { newElement = this.handleDropListElement(newElement as Record<string, UIElementValue>); } if (['dropdown', 'radio', 'likert-row', 'radio-group-images', 'toggle-button']