Loading a table widget on (form) select change.
Hi
I made a table widget that is displayed under my form. When I change a select, I would like it to appear and load data (preferably without reloading the page). Is there any way to easily achieve this?
4 Replies
Not sure whether table widgets are separate Livewire components. You would send an event between them in that case.
Thanks for the idea, will look into it and come back here.
I have a feeling I am making it too complex but having a hard time in getting what I need in canView. So I created my own template.
If anyone has any ideas for improvement, much appreciated!
Can't you just use
canView() { return $this->showTableWidget; }
?canView is static
Late reply, I missed this xD