Skip to content

Commit 6eaffd3

Browse files
authored
Merge pull request #1128 from Patternslib/checklist-toggle-checked
fix(pat checklist): Also set the "checked" and "unchecked" classes on…
2 parents f1c5a23 + 8154775 commit 6eaffd3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pat/checklist/checklist.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ export default Base.extend({
2626
},
2727

2828
_init() {
29-
this.all_checkboxes = this.el.querySelectorAll(
30-
`input[type=checkbox]:not(${this.options.toggle}`
31-
);
29+
this.all_checkboxes = this.el.querySelectorAll(`input[type=checkbox]`);
3230
this.all_radios = this.el.querySelectorAll("input[type=radio]");
3331

3432
this.all_selects = dom.find_scoped(this.el, this.options.select);

0 commit comments

Comments
 (0)