mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(password-input): do not render label if labelText
is not provided (#1108)
This commit is contained in:
parent
6dc17dd8b3
commit
33c1543bd0
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@
|
|||
{helperText}
|
||||
</div>
|
||||
{/if}
|
||||
{:else}
|
||||
{/if}
|
||||
{#if !inline && labelText}
|
||||
<label
|
||||
for="{id}"
|
||||
class:bx--label="{true}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue