From 612508a576a9fb9e898fa00a74658bdfc8b58f87 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 19 Feb 2022 18:19:32 -0800 Subject: [PATCH] fix: slottable labelText should correctly render --- src/TextInput/PasswordInput.svelte | 2 +- src/TextInput/TextInput.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TextInput/PasswordInput.svelte b/src/TextInput/PasswordInput.svelte index c548fe9e..9c00dae9 100644 --- a/src/TextInput/PasswordInput.svelte +++ b/src/TextInput/PasswordInput.svelte @@ -129,7 +129,7 @@ {/if} {/if} - {#if !inline && labelText} + {#if !inline && (labelText || $$slots.labelText)}