Skip to content

[6.x] Don't show selection checkboxes when bulk actions are disabled - #14850

Merged
jasonvarga merged 1 commit into
6.xfrom
fix/14849-bulk-actions-checkboxes
Jun 19, 2026
Merged

[6.x] Don't show selection checkboxes when bulk actions are disabled#14850
jasonvarga merged 1 commit into
6.xfrom
fix/14849-bulk-actions-checkboxes

Conversation

@jasonvarga

@jasonvarga jasonvarga commented Jun 19, 2026

Copy link
Copy Markdown
Member

Fixes #14849.

Setting allowBulkActions to false on a Listing hid the bulk actions toolbar but still rendered the selection checkboxes whenever an actionUrl was present.

The checkbox column is gated by allowsSelections, which only considered hasActions, ignoring the allowBulkActions prop. This gates the actions-driven branch behind allowBulkActions so the checkboxes disappear when bulk actions are turned off.

Controlled selection (a bound :selections array, e.g. the asset browser used as a field picker) is unaffected, since that branch of the condition is untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jasonvarga jasonvarga changed the title Don't show selection checkboxes when bulk actions are disabled [6.x] Don't show selection checkboxes when bulk actions are disabled Jun 19, 2026
@jasonvarga
jasonvarga merged commit 03d536a into 6.x Jun 19, 2026
23 of 24 checks passed
@jasonvarga
jasonvarga deleted the fix/14849-bulk-actions-checkboxes branch June 19, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CP Listing UI shows checkboxes for bulk actions, even when disabled

1 participant