From ea12dbe503e14f50a10f6e2f07c7a0749f938536 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Thu, 30 Jul 2020 16:37:26 -0700 Subject: [PATCH] chore(input): forward keydown event to TextInput, PasswordInput --- src/TextInput/PasswordInput.svelte | 1 + src/TextInput/TextInput.Story.svelte | 17 +++++++++++++++-- src/TextInput/TextInput.svelte | 1 + 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/TextInput/PasswordInput.svelte b/src/TextInput/PasswordInput.svelte index 47106674..6033eda8 100644 --- a/src/TextInput/PasswordInput.svelte +++ b/src/TextInput/PasswordInput.svelte @@ -166,6 +166,7 @@ on:input={({ target }) => { value = target.value; }} + on:keydown on:focus on:blur />