From 3352727aa638fcfcc6461d2aaded8ef9603acc0d Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 4 Oct 2022 00:04:19 +0800
Subject: feat: Initial setup facilitating testing

---
 apps/kit/src/lib/components/input.svelte | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'apps/kit/src/lib/components/input.svelte')

diff --git a/apps/kit/src/lib/components/input.svelte b/apps/kit/src/lib/components/input.svelte
index 999c565..c0ed654 100644
--- a/apps/kit/src/lib/components/input.svelte
+++ b/apps/kit/src/lib/components/input.svelte
@@ -1,4 +1,5 @@
 <script lang="ts">
+    import pwKey from "$actions/pwKey";
     import { random_string } from "$lib/helpers";
     import { ExclamationCircleIcon } from "./icons";
 
@@ -18,6 +19,7 @@
     export let addon: string | undefined = undefined;
     export let value: string | undefined;
     export let wrapperClass: string | undefined = undefined;
+    export let _pwKey: string | undefined = undefined;
 
     $: ariaErrorDescribedBy = id + "__" + "error";
     $: attributes = {
@@ -70,6 +72,7 @@
         {/if}
         <input
             use:typeAction
+            use:pwKey={_pwKey}
             {name}
             {id}
             {...attributes}
-- 
cgit v1.3

