Chanda
form-field
I have a column in Loans table called
loan_agreement_file_path
which stores the path of a file. Now what I want is to show the file link of this file in a table list such that when a user clicks on it he/she can download the file.
This is what I have a tried but its not working:
Any Ideas?7 replies
My Custom Pages Routes Suddenly throwing 404
Hey I have created a few custom pages and linked them to the model resource. Also I have registered the routes of those custom pages in the Actual resource under getPages as :
I have added the navigation Icon to these custom groups. Now the problem is each time I try to access the route am getting a 404.
3 replies
Adding Custom Page in Navigation
I have created a custom page which I have added in
config
as:
What I want is to add this now to the NavigationGroup. Its appearing on the sidebar but I want it to appear under NavigationGroup. I have tried to add the navigation group inside the custom page itself as: protected static ?string $navigationGroup = 'Loans';
but its not working4 replies
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:
php artisan make:filament-page ActiveLoans --resource=LoanResource --type=custom
Upon 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?8 replies