diff --git a/frontend/src/lib/components/containers/marks.svelte b/frontend/src/lib/components/containers/marks.svelte index 16c27bb..5375923 100644 --- a/frontend/src/lib/components/containers/marks.svelte +++ b/frontend/src/lib/components/containers/marks.svelte @@ -4,19 +4,19 @@ let { value = $bindable([]), label = "" } = $props(); let items: string[] = $state([]); + + $effect(() => {value = items});

{label}

- {#each items as item} - + {#each items as item, index} + {/each} { - items.push(""); - value = items; + items.push(null); }} /> -