Listing records from a custom page:
Hello I want to create a custom page for listing records only. I don't want a full resource but I only want a page to list records which will be linked to a certain resource which has already benn created, so I proceeded to create my bew resource as per docs as:
Upon creating my custom page I registered my custom page route in the
I then went to my newly created custom page class component and added the following files:
The corresponding laravel blade for the custom class looks like this:
However each time I access my route am getting the following exception :
What am I missing?
php artisan make:filament-page ActiveLoans --resource=LoanResource --type=customUpon creating my custom page I registered my custom page route in the
`LoanResource file class under getPages as shown:I then went to my newly created custom page class component and added the following files:
The corresponding laravel blade for the custom class looks like this:
However each time I access my route am getting the following exception :
Property [$data] not found on component: [app.filament.resources.loan-resource.pages.active-loans] What am I missing?