From 006baf9723766572698f412a45eb9adf69141cd0 Mon Sep 17 00:00:00 2001 From: Harald Mack Date: Fri, 20 Sep 2024 16:16:41 +0200 Subject: [PATCH 01/28] add initial skeleton for CheckboxList --- .../components/DataInput/CheckboxList.svelte | 35 +++++++++++++++++++ .../src/lib/components/UserDataInput.svelte | 23 ++++++------ 2 files changed, 48 insertions(+), 10 deletions(-) create mode 100644 frontend/src/lib/components/DataInput/CheckboxList.svelte diff --git a/frontend/src/lib/components/DataInput/CheckboxList.svelte b/frontend/src/lib/components/DataInput/CheckboxList.svelte new file mode 100644 index 00000000..f6f09af2 --- /dev/null +++ b/frontend/src/lib/components/DataInput/CheckboxList.svelte @@ -0,0 +1,35 @@ + + +
+ {#each $$props.items as element, index} + handleChange(index)} + >{element.label} + {/each} +
diff --git a/frontend/src/lib/components/UserDataInput.svelte b/frontend/src/lib/components/UserDataInput.svelte index cec5aff4..3aeeb824 100644 --- a/frontend/src/lib/components/UserDataInput.svelte +++ b/frontend/src/lib/components/UserDataInput.svelte @@ -1,6 +1,7 @@
{#if label} @@ -91,11 +59,6 @@ /> {#if showTextField === true} -