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
The component is supposed to start some background stuff and then update when a model instance is changed.
ViewEntry
Livewire template
I suspect that I'm using the wrong approach here, and would appreciate if someone could point me in the right direction.
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
Livewire template
I suspect that I'm using the wrong approach here, and would appreciate if someone could point me in the right direction.