Infolist action on custom page

Hi there! I have a custom livewire page with a table. Now I want to have a view action which opens an infolist, but for some reason I don't get any popups.

This is my table action:
->actions([
                ViewAction::make('view')
                    ->label('Bekijken')
                    ->icon('heroicon-o-eye')
                    ->infolist(function (Infolist $infolist) {
                        return $infolist
                            ->schema([
                                TextEntry::make('lineItemable.name')->label('Naam'),
                            ]);
                    }),
            ])


I use the
InteractsWithInfolists
trait and have the
HasInfolists
interface. This is my view:

<div>
    {{ $this->table }}

    <x-filament-actions::modals />

</div>


Is there something I am missing?
Was this page helpful?