Skip to content

Commit 43166ec

Browse files
committed
fix(checkbox): fix checked attribute
1 parent 814b506 commit 43166ec

File tree

1 file changed

+1
-1
lines changed
  • packages/web-components/src/components/checkbox

1 file changed

+1
-1
lines changed

packages/web-components/src/components/checkbox/checkbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class CDSCheckbox extends FocusMixin(FormMixin(LitElement)) {
263263
part="input"
264264
class="${`${prefix}--checkbox`}"
265265
aria-readonly="${String(Boolean(readonly))}"
266-
?checked="${checked}"
266+
.checked="${checked}"
267267
?data-invalid="${invalid}"
268268
?disabled="${disabled}"
269269
?defaultChecked="${defaultChecked}"

0 commit comments

Comments
 (0)