Modal: Livewire component
How would I open a livewire modal on the test button? This way it doesn't open my modal
2 Replies
with ->action you actually tell Filament what to do when you click "Save" on your modal. what you want is
Action::make('meep')->form()
The key here is where the actual modal / livewire component is rendered.
For reference $this inside of the action isn’t a livewire component.
But you can inject $livewire in the action callback and use $livewire->dispatch(). Just don’t know enough about the whole setup and what you are trying to do to give a more solid answer.