Skip to content
Snippets Groups Projects
Commit e74d1ae5 authored by rhenck's avatar rhenck
Browse files

Add sanitization for drop-list-simple

parent 044b0c92
No related branches found
No related tags found
No related merge requests found
......@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment