aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/routes/book/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'code/app/src/routes/book/inputs')
-rw-r--r--code/app/src/routes/book/inputs/+page.svelte13
1 files changed, 6 insertions, 7 deletions
diff --git a/code/app/src/routes/book/inputs/+page.svelte b/code/app/src/routes/book/inputs/+page.svelte
index 9118a54..7ca0d31 100644
--- a/code/app/src/routes/book/inputs/+page.svelte
+++ b/code/app/src/routes/book/inputs/+page.svelte
@@ -28,13 +28,7 @@
<section>
<h2>Combobox</h2>
- <Combobox
- {options}
- label="Wiii"
- multiple
- createable
- on_create_async={add}
- />
+ <Combobox {options} label="Wiii" multiple createable on_create_async={add} />
</section>
<section>
@@ -63,6 +57,11 @@
</section>
<section>
+ <h2>Many errors</h2>
+ <Input label="No" placeholder="Sorry" errors={["That's not right", "Call help!", "Get it together"]} bind:value icon={DatabaseIcon} />
+</section>
+
+<section>
<h2>Help</h2>
<Input label="Go ahead" placeholder="Write here" helpText="Write above" bind:value />
</section>