How to set the record url on a resource table
When using the Table builder, we can set the record url using
getTableRecordUrlUsing()
(https://filamentphp.com/docs/2.x/tables/getting-started#clickable-rows)
How can I set this value in a resource? It goes to the edit page by default, but I'd like to change that.Filament
Getting started - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
4 Replies
I think I can make it working using the
getTableRecordUrlUsing
on the List
pageWhere do you want it to go firstly?
I was trying to set it in the Resource, but yeah List makes more sense in hindsight
It now goes to a custom page with a different form than just editing
ResourceName::getUrl('custompagename', ['record' => $record])