Skip to content
Snippets Groups Projects
Commit 286be9d2 authored by jojohoch's avatar jojohoch
Browse files

Fix VariableInfo for DropListElement

parent 353a4fbf
No related branches found
Tags editor/2.6.0-beta8+player/2.6.0-beta8
No related merge requests found
Pipeline #66997 failed
......@@ -12,7 +12,7 @@ import { environment } from 'common/environment';
import {
AbstractIDService,
DragNDropValueObject,
InputElementProperties, UIElementProperties,
InputElementProperties,
UIElementType,
UIElementValue
} from 'common/interfaces';
......@@ -161,7 +161,7 @@ export class DropListElement extends InputElement implements DropListProperties
return [this, ...valueDropLists]
.map(dropList => dropList.value as DragNDropValueObject[])
.flat()
.map(option => ({ value: option.id, label: InputElement.stripHTML(option.text) }));
.map(option => ({ value: option.alias, label: InputElement.stripHTML(option.text) }));
}
return [];
}
......
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