Using slideOver() inside Livewire Component
Hello!
i have a filament-page with some livewire components on it.
One of them is a LwC with a form.
Im tried to use the View Page of my Resource to be opened via button at another page.
i did several approaches... but is it possible that slideOver doesnt work inside a LwC ?
Action::make('sessionHistory')->slideOver()->mountUsing(fn ($livewire) => $livewire->mount(ViewSession::class))
Action::make('sessionHistory')->slideOver()->livewire('view-session');
Action::make('sessionHistory')->slideOver()->modalContent(fn () => Modal::make()->livewire('view-session-modal'))
Action::make('sessionHistory')->slideOver()->modalContent(fn () => view('livewire.view-session'))
I even tried to create the modal/blade-view but modal() or slideOver() doesnt work. I dont know what im doing wrong.
and several more tries..
This Button is in the header of a section, i didn't tried outside of it but doesn't know if it matters (shouldn't, i think).
Did someone had success with opening Modal/slideOver at filament-page/livewire component (with form) ?
Thanks.0 Replies