© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Demonicious

$record in TableAction resolves to the first record in the list instead of current item.

I have a user resource where I can make users admins or revoke their admin access. I'm using a table action to do this as I don't need an Edit page. However, when I output the result of the
$record
$record
variable. It always resolves to the first item in the list. Action on first item and second item DD the same thing.
image.png
image.png
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

TableAction in the first row of a table
FilamentFFilament / ❓┊help
3y ago
detach item from pivot with repeater instead of deleting the other record
FilamentFFilament / ❓┊help
13mo ago
Get the index of current repeater item
FilamentFFilament / ❓┊help
12mo ago
Show a Select instead of the list of the tabs in the List page
FilamentFFilament / ❓┊help
2y ago