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/>
Solution:
just needed to use the Richeditor in the edit component also
Jump to solution
11 Replies
Dennis Koch
Dennis Koch10mo ago
What's the use case? Pages have full-blown layout?
Hussain4real
Hussain4realOP10mo ago
i have two filament standalone page, i want to be able to embed one in the others view
Dennis Koch
Dennis Koch10mo ago
Yeah, that doesn't make sense. But you can create 2 Livewire components and embed them on 1 Page.
Hussain4real
Hussain4realOP10mo ago
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?
Dennis Koch
Dennis Koch10mo ago
Yes
Hussain4real
Hussain4realOP10mo ago
how should i handle the embedding, using the $view property of the page?
Dennis Koch
Dennis Koch10mo ago
Yes, that would work. Otherwise you can also have an infolist and form on one page via custom view.
Hussain4real
Hussain4realOP10mo ago
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
Hussain4real
Hussain4realOP10mo ago
No description
Hussain4real
Hussain4realOP10mo ago
got it working, thanks for the time
Solution
Hussain4real
Hussain4real10mo ago
just needed to use the Richeditor in the edit component also
Want results from more Discord servers?
Add your server