© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
hgrimelid

Including a Livewire component inside an Infolist

Hi,
I try to render a small Livewire component inside an Infolist modal.

It renders when using ViewEntry component, but when I call a method from the Livewire component, it fails with the error

Unable to call component method. Public method [confirmLoginLink] not found on component

The component is supposed to start some background stuff and then update when a model instance is changed.

ViewEntry
Infolists\Components\ViewEntry::make('get_login_link')
  ->view('livewire.get-login-link', ['site' => $infolist->record->site]),
Infolists\Components\ViewEntry::make('get_login_link')
  ->view('livewire.get-login-link', ['site' => $infolist->record->site]),


Livewire template
<button type="submit" wire:click="confirmLoginLink({{ $site->id }})">
    Click me
</button>
<button type="submit" wire:click="confirmLoginLink({{ $site->id }})">
    Click me
</button>


I suspect that I'm using the wrong approach here, and would appreciate if someone could point me in the right direction.
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

Using infolist actions inside livewire component
FilamentFFilament / ❓┊help
16mo ago
Livewire component fails to render Leaflet Map inside infolist
FilamentFFilament / ❓┊help
14mo ago
Relationmanager in Livewire Infolist component
FilamentFFilament / ❓┊help
2y ago
How to render a table component inside an infolist?
FilamentFFilament / ❓┊help
3y ago