© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
thedangler

Pass record to infolist from action

I have a table view action that has a slideover. I'm passing it an info list. I can't seem to pass the current record over.
I want to show/hide a button when there is a relationship.
How do I pass the current record to the infolist

Action::make()->infolist([
entries.....
if(record.doesntHave('relationship')->get()) show action button to create the missing relation ship.
])->slideover()
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

How to pass record to table row action?
FilamentFFilament / ❓┊help
2y ago
Create single record from HasMany relationship in infolist actions
FilamentFFilament / ❓┊help
16mo ago
Database Notification Actions: Infolist in action?
FilamentFFilament / ❓┊help
3y ago
Add Printjs to infolist action
FilamentFFilament / ❓┊help
2y ago