mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(text-area): counter supports null value
(#2089)
This commit is contained in:
parent
c1ace1c80a
commit
76eec84c54
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}/{maxCount}
|
||||
{(value ?? "").length}/{maxCount}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue