fix(password-input): do not render label if labelText is not provided (#1108)

This commit is contained in:
Malte Heinzelmann 2022-02-20 03:01:49 +01:00 committed by GitHub
commit 33c1543bd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,8 @@
{helperText}
</div>
{/if}
{:else}
{/if}
{#if !inline && labelText}
<label
for="{id}"
class:bx--label="{true}"