mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #16975 from brunogoossens/patch-1
[v3] Add support for disabled checkboxes when bulkToggleable
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
this.areAllCheckboxesChecked =
|
||||
this.visibleCheckboxListOptions.length ===
|
||||
this.visibleCheckboxListOptions.filter((checkboxLabel) =>
|
||||
checkboxLabel.querySelector('input[type=checkbox]:checked'),
|
||||
checkboxLabel.querySelector('input[type=checkbox]:checked, input[type=checkbox]:disabled'),
|
||||
).length
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user