Update src/TextArea/TextArea.svelte

Co-authored-by: Eric Liu <ericyl.us@gmail.com>
This commit is contained in:
bartosjiri ⚡ 2025-01-22 10:03:03 +01:00 committed by GitHub
commit 4aa55cb9f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>