fix ci?
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2025-10-01 22:53:59 +02:00
parent 7f26710a40
commit 1de7a6fb33

View File

@@ -426,7 +426,7 @@ function initNewChoice(select: HTMLInputElement) {
return `Nur ${maxItemCount} Ruderer können hinzugefügt werden`; return `Nur ${maxItemCount} Ruderer können hinzugefügt werden`;
}, },
callbackOnInit: function (this: Choices) { 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]; const itemsArray = Array.isArray(items) ? items : [items];
itemsArray.forEach((obj: any) => { itemsArray.forEach((obj: any) => {
if (boat_in_ottensheim && obj.customProperties) { if (boat_in_ottensheim && obj.customProperties) {