fix(1684): hide helper text container in password input when not used (#1685)

This commit is contained in:
gabrielleecredera 2023-03-11 19:38:44 +00:00 committed by GitHub
commit 42349ebc61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -248,7 +248,7 @@
{invalidText}
</div>
{/if}
{#if !invalid && !warn && !isFluid && !inline}
{#if !invalid && !warn && !isFluid && !inline && helperText}
<div
class:bx--form__helper-text="{true}"
class:bx--form__helper-text--disabled="{disabled}"