From c383a4365b3ed876c5f2d865eecdc379305e9672 Mon Sep 17 00:00:00 2001 From: Malte Heinzelmann Date: Sat, 19 Feb 2022 23:35:07 +0100 Subject: [PATCH] Update PasswordInput.svelte If no labelText is given, label should not be rendered --- src/TextInput/PasswordInput.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TextInput/PasswordInput.svelte b/src/TextInput/PasswordInput.svelte index 6c417cc0..c548fe9e 100644 --- a/src/TextInput/PasswordInput.svelte +++ b/src/TextInput/PasswordInput.svelte @@ -128,7 +128,8 @@ {helperText} {/if} - {:else} + {/if} + {#if !inline && labelText}