-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Closed
Copy link
Labels
Milestone
Description
Package
filament/filament
Package Version
v3.3.14
Laravel Version
v12.14.1
Livewire Version
v3.6.3
PHP Version
PHP 8.4
Problem description
When using a Filament\Tables\Actions\ActionGroup
on a table row that is conditionally visible via the visible()
or authorize()
methods and a modal is opened when clicking the action trigger button, all rows will show the ActionGroup trigger button regardless of the conditional visibility.
Please see the following gif. Observe the action group trigger button showing behind the modal on every row.
Expected behavior
Would expect the conditional visibility to be respected even with the modal opening.
Steps to reproduce
- Clone reproduction repo
- Migrate and seed database
- Navigate to
/admin
- Login with
[email protected]
//password
- Navigate to the
Users
resource - Only one row should have the ActionGroup trigger button visible
- Click the
Test action
inside the group and observe all of the table rows now have an action group trigger button visible
Reproduction repository (issue will be closed if this is not valid)
https://github.com/ryanmortier/filament-table-row-action-authorization
Relevant log output
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done