From 7c0086d00cdf629c939b6737663ea1d8c0a22123 Mon Sep 17 00:00:00 2001 From: metonym Date: Sat, 19 Feb 2022 18:24:26 -0800 Subject: [PATCH] fix: slottable labelText should correctly render (#1110) --- 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)}