diff --git a/frontend/main.ts b/frontend/main.ts index f393d48..fc6d425 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -426,7 +426,7 @@ function initNewChoice(select: HTMLInputElement) { return `Nur ${maxItemCount} Ruderer können hinzugefügt werden`; }, callbackOnInit: function (this: Choices) { - const items = this.getValue(); // Get all selected items + const items = this.getValue(true); // Get all selected items const itemsArray = Array.isArray(items) ? items : [items]; itemsArray.forEach((obj: any) => { if (boat_in_ottensheim && obj.customProperties) {