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

[editor] Allow all kinds of arrays remove-option on properties panel

parent 1e6dc0ef
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ export class ElementPropertiesComponent implements OnInit, OnDestroy {
this.updateModel(property, event.container.data);
}
removeOption(property: string, option: string): void {
const valueList: string[] = this.combinedProperties[property] as string[];
removeOption(property: string, option: any): void {
const valueList: any[] = this.combinedProperties[property] as any[];
valueList.splice(valueList.indexOf(option), 1);
this.updateModel(property, valueList);
}
......
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