mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Update src/TextArea/TextArea.svelte
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
This commit is contained in:
parent
7ead4acc02
commit
4aa55cb9f4
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
|||
</label>
|
||||
{#if maxCount}
|
||||
<div class:bx--label={true} class:bx--label--disabled={disabled}>
|
||||
{value?.length || 0}/{maxCount}
|
||||
{((value ?? '').length)}/{maxCount}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue