mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
Update PasswordInput.svelte
If no labelText is given, label should not be rendered
This commit is contained in:
parent
6dc17dd8b3
commit
c383a4365b
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