Jakub
Table reload in custom livewire tab by updating in another tab table record.
if you can share screenshots of how the view looks, and what you want to do with it. Might be able to help more.
I am not that great at filament yet, to fully visualize how everythings works just from code =/
12 replies
Table reload in custom livewire tab by updating in another tab table record.
From my understanding you are doing the following
- created info list that has tabs , so you can swtich and show different tables
- you click on a tab Draft, and it shows listings with status of draft
- click on tab of published, shows active listings
- you are passing in a custom livewire component for each one
What you should do in this situation
- create a new page or go on the ListListings page
- create the getTabs function and setup filters on that
- you can pass in fitlers directly onto the tabs
- so wheenver yo uswitch between tabs, the table updates
- creating new records will also refresh the table
Here is example of some tabs i have
The table on the same page is like this
I could be misunderstanding the whole thing too lol
12 replies
"Create another" and prefill field
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#lifecycle-hooks
Just shooting in the dark, but maybe this would work
passing in $data as variable and returning $data with certain fields being null
5 replies
Using Resource table in custom livewire component
Inbox filament page
Issue
When I am on the custom page and i click on the edit button, it shows a blank modal. I can't click on the rows either.
But when I go on the tasks resource , everything works as intended.
Question
Is this is a limitation in general with https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component
Or am I missing some trait that would solve this?
5 replies