fix(select): hide helperText if invalid or warning state (#1761)

This commit is contained in:
Eric Liu 2023-07-08 11:29:05 -07:00 committed by GitHub
commit 7579c032fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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