aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/src/lib/components/input.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'apps/kit/src/lib/components/input.svelte')
-rw-r--r--apps/kit/src/lib/components/input.svelte3
1 files changed, 3 insertions, 0 deletions
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}