From b60a027a4ab9203388470ac51114638983a183da Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Thu, 17 Nov 2022 22:13:14 +0700
Subject: feat: Support multiple errors

---
 code/app/src/routes/book/inputs/+page.svelte | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

(limited to 'code/app/src/routes/book/inputs/+page.svelte')

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>
@@ -62,6 +56,11 @@
     <Input label="No" placeholder="Sorry" errorText="That's not right" bind:value icon={DatabaseIcon} />
 </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 />
-- 
cgit v1.3

