Run action automatically
Hi,
is it possible to run an action when the table gets loaded initially? Like a wire:init() in the view?
Thank you!
3 Replies
Is this a List page or a custom component?
It’s a list page
I think you can piggy back on the existing
wire:init
attribute... On the resource table, add ->deferLoading()
, then override the loadTable()
method on your List page :