Pass ID to additionalTableActions

Is there a way to get the current object's ID when I'm adding an additional action for a link like this? public function additionalTableActions() { return [ 'githubAction' => [ 'link' => route('github', ['repo' => $object->id]) ] ]; }
2 Replies
droplister
droplisterOP16mo ago
nvm, i see now that it's not the actions like "Edit" within the table but on top of it
droplister
droplisterOP16mo ago
GitHub
[3.x] Add possibility to add custom bulk operations · Issue #1832 ·...
Discussed in #1831 Originally posted by vladimirmartsul September 24, 2022 Hi! Please help me to solve two tasks I need to add custom bulk action on the listing page. For example, "Export sele...
Want results from more Discord servers?
Add your server