From 33c1543bd0263310ada1dcd90abb5e65aacca27d Mon Sep 17 00:00:00 2001 From: Malte Heinzelmann Date: Sun, 20 Feb 2022 03:01:49 +0100 Subject: [PATCH] fix(password-input): do not render label if `labelText` is not provided (#1108) --- 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}