@@ -88,16 +90,83 @@
- Mobile
- Laptop
- Tablet
-`}
+ code={`
+ {#each checkboxData as option}
+ console.log("User selections: ", selections.join(", "))}
+ />
+ {/each}
+ `}
>
-
- Mobile
- Laptop
- Tablet
+
+ {#each checkboxData as option}
+ console.log("User selections: ", selections.join(", "))}
+ />
+ {/each}
+
+
+ Checkboxes: {selections}
+
+
+
+ {#each checkboxData as option}
+ console.log("User selections: ", errorSelection.join(", "))}
+ />
+ {/each}
+ `}
+ >
+
+ {#each checkboxData as option}
+ console.log("User selections: ", errorSelection.join(", "))}
+ />
+ {/each}
diff --git a/src/ui/ons/ONSCheckboxes.svelte b/src/ui/ons/ONSCheckboxes.svelte
index 3db146b2..6141e12f 100644
--- a/src/ui/ons/ONSCheckboxes.svelte
+++ b/src/ui/ons/ONSCheckboxes.svelte
@@ -1,6 +1,26 @@
-