ColossalSlav
Do not reload the table in the background when interacting with an Action Modal Form
What I am trying to do: there is a table with a specific set of filters that has an expensive DB query. In that table each record/row has an action available, which opens a modal with a form, and some of the form components are live/reactive. The problem is that with every interaction within that form, it is very slow and adds a lot of load to the DB because the table in the background gets refreshed with every update, running an expensive DB query. Is there no way to isolate so that the Action updates are only concerned with the components/data within that Action component and not the whole page/table?
What I did: I tried adding
#[Isolated]
attribute on the Action class as well as ->deferLoading()
on the Table but neither works.1 replies
Lazy Loading Infolist Entry?
What I am trying to do: To lazy-load contents for an Infolist Entry (TextEntry in particular). The contents come from a slow external API so I would like the page to load first and only then trigger/load the lazy component. Ideally this would be without creating a whole custom component, but of course happy to if that's the only option.
What I did: Looked through Filament documentation & codebase.
My issue/the error: Cannot find any reference to lazy-loading an Infolist Entry.
2 replies