{{> checkbox-select-all-src}}
{{/each}}
The select all checkbox must be contained within a table and contain one or more input[type="checkbox"] elements. The data-js=checkbox-select-all attribute should be added to the element that is to trigger the bulk toggle. This behaviour will function correctly on both unstyled checkboxes and checkboxes styled with the data-js=input-checkbox helper.
| Class name | Effect | Remarks |
|---|---|---|
[data-js="checkbox-select-all"] |
Placed directly on the input[type="checkbox"] element. |
Required. |