Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for hidden when counting bulk actions in isTableSelectionEnabled #3709

Merged
merged 3 commits into from
Aug 28, 2022

Conversation

cheesegrits
Copy link
Contributor

At the moment, if all bulk actions are hidden, we still get checkboxes and an empty kebab menu.

Note that I only added a check for !hidden(), as this is how it is handled elsewhere (like getBulkActions() in the main Table component. My inclination would be to check !hidden() && visible(). Lmk if I should be checking both.

@zepfietje zepfietje added the bug Something isn't working label Aug 27, 2022
@danharrin danharrin merged commit 95e3295 into filamentphp:2.x Aug 28, 2022
@cheesegrits cheesegrits deleted the bulk-action branch August 13, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants