© 2026 Hedgehog Software, LLC

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

How to access record in infolist

I have created a named infolist inside a relationmanager resource as below

use Filament\Infolists\Components\TextEntry;
use Filament\Infolists\Infolist;

public function productInfolist(Infolist $infolist): Infolist
{
return $infolist
->record($this->product) // How to get access to the current record
->schema([
TextEntry::make('name'),
TextEntry::make('category.name'),
// ...
]);
}


How do i access the current record not the ownerrecord.
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 access $record in a ->visible() method?
FilamentFFilament / ❓┊help
15mo ago
Access $record in resource
FilamentFFilament / ❓┊help
2y ago
Pass record to infolist from action
FilamentFFilament / ❓┊help
2y ago
How to access form component record in ->when fn?
FilamentFFilament / ❓┊help
2y ago