Adding a page view to a Livewire component view
is there a way to add a page view to a livewire component view something like
<livewire:filament.pages.thepageview/>
11 Replies
What's the use case? Pages have full-blown layout?
i have two filament standalone page, i want to be able to embed one in the others view
Yeah, that doesn't make sense. But you can create 2 Livewire components and embed them on 1 Page.
one handles view and create and the other handles editing, but i'm making the edit inline
should i create livewire components for them and embed them on the filament page?
Yes
how should i handle the embedding, using the
$view
property of the page?Yes, that would work.
Otherwise you can also have an infolist and form on one page via custom view.
was able to achieve something close to what i want just that in my
wire:model
i can't escape the html characters from Richeditor
got it working, thanks for the time
Solution
just needed to use the
Richeditor
in the edit component also