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

Fix dropList reading of existing element's value

parent d346f9c0
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ export class DropListElement extends InputElement implements FontElement, Surfac
Object.assign(this, initFontElement(serializedElement));
Object.assign(this, initSurfaceElement(serializedElement));
this.value = [];
this.value = serializedElement.value as string[] || [];
this.height = serializedElement.height || 100;
this.backgroundColor = serializedElement.backgroundColor as string || 'transparent';
}
......
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