mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(inline-checkbox): bind indeterminate
for Svelte 5 compatibility (#2045)
Fixes #2039
This commit is contained in:
parent
9d5e7e31ef
commit
99ba6f3db9
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
class:bx--checkbox="{true}"
|
class:bx--checkbox="{true}"
|
||||||
checked="{indeterminate ? false : checked}"
|
checked="{indeterminate ? false : checked}"
|
||||||
indeterminate="{indeterminate}"
|
bind:indeterminate
|
||||||
id="{id}"
|
id="{id}"
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
aria-checked="{indeterminate ? undefined : checked}"
|
aria-checked="{indeterminate ? undefined : checked}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue