mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(date-picker): hide helperText
if invalid or warning state (#1759)
This commit is contained in:
parent
d75dca98d9
commit
d5a4a8b94a
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@
|
|||
{#if !invalid && warn}
|
||||
<div class:bx--form-requirement="{true}">{warnText}</div>
|
||||
{/if}
|
||||
{#if helperText}
|
||||
{#if !invalid && !warn && helperText}
|
||||
<div
|
||||
class:bx--form__helper-text="{true}"
|
||||
class:bx--form__helper-text--disabled="{disabled}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue