Saturn
Call action after page load to table mount action
you suggested answer for an custom/normal action. If you can suggest for table action, which has parameters to them
Eg: https://demo.filamentphp.com/blog/categories in same page we have table with view action that shows details of particular row.
its call to server is: mountTableAction('View',1)
where View is the action name & 1 is the record
19 replies
Call action after page load to table mount action
so basically whenever user redirects to my resource page with that particular query parameter in the url, I want to open the modal( just like we do when we click on any table record, a modal opens) but this time without clicking but through query parameter,
19 replies
Call action after page load to table mount action
Url with query parameter: http://...../admin/proof-requesteds?proof=3
But in this case the action is getting called early before table livewire component is loaded and thus causing error. I need to call $this->js('$wire.mountTableAction("Proof",'.$this->proof.")");
after page load,19 replies