Render component inside relation manager
Hi everyone,
I'm trying to render a Livewire component inside a Filament RelationManager page using a custom trait with a render hook. Here's the method I'm using:
In my boot() method of a RelationManager, I call:
The Livewire component is mounted and the HTML wrapper is visible in the DOM (i.e., <div id="component-container">...</div>), but the actual content inside the component isn't displaying.
I’ve also registered a JS file using:
Is there a better way to render Livewire components dynamically in a RelationManager?
0 Replies