Call action method from livewire
Can an action method be invoked in Livewire? I attempted to call an action method within the mount and rendered methods of Livewire, but it doesn't seem to be working.
3 Replies
https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component
Maybe you are looking for this information?
Certainly, you're correct. I've adhered to the instructions outlined in the documentation, but I'm interested in automatically triggering the actions function and displaying the model on the screen when the page loads. Is there a way to achieve this?