V4 Custom Page with Custom Data Table
Hey all,
I'm working on a project where I'm trying to use the V4 beta of Filament to display a table based on API data. I'm running into some issues where it looks to be trying to load relations from the response collection even though the items are not models and its not associated with a resource.
Here is my custom page / table implementation:

Solution:
Jump to solution
Actually I just figured this out... if any field that is returned is null, it tries to find it via a relationship. My workaround for this is to set the state to an empty string.

3 Replies
My first thought here is that I'm using the wrong interface / implementation but the docs are a bit scarce around the custom data section and only provide the
table()
method and not the surrounding class.
The view looks like this:
Solution
Actually I just figured this out... if any field that is returned is null, it tries to find it via a relationship. My workaround for this is to set the state to an empty string.

I'll create a bug ticket for these cases if this isn't intended behaviour.