Skip to content

Commit

Permalink
fix(select): hide helperText if invalid or warning state (#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym authored Jul 8, 2023
1 parent 7381a03 commit 7579c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 7579c03

Please sign in to comment.