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} {helperText}
</div> </div>
{/if} {/if}
{:else} {/if}
{#if !inline && labelText}
<label <label
for="{id}" for="{id}"
class:bx--label="{true}" class:bx--label="{true}"