filament/tables
v3.2
v10.10
v3.5.0
PHP 8.3.6
Incorrect record is passed to custom action, if it is within a nested actiongroup.
This is the first execution of the custom action:
After executing the action, the record will be passed to all other rows:
This occurs only, if the action is within a nested action group:
ActionGroup::make([
ActionGroup::make([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
])->dropdown(false),
ActionGroup::make([
PublishMailAction::make()
->visible(fn ($record) => !$record->is_published),
UnpublishMailAction::make()
->visible(fn ($record) => $record->is_published),
])->dropdown(false),
Pass the correct record to the custom action
https://github.com/agruenberg/example-app
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too