How to NOT view RelationManager records in modal?

I have two resources, one of them lists the hasMany relation to the other resource. From that table whenever I click View, it opens the related record in a modal rather than redirecting to the View page. How do I prevent the modal from being used? I have 'view' defined in getPages() for the Resource, which redirects (without modal) when you click View from the resource's index/listing page.
3 Replies
Dan Harrin
Dan Harrin15mo ago
Filament
Relation Manager edit record using Resource page instead of modal b...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Dan Harrin
Dan Harrin15mo ago
similar to this but with view instead of edit
FullyLoadedTech
FullyLoadedTech15mo ago
Thanks, checked Documentation and forgot about Tricks. Found an older comment on this Discord and here's the solution (in your resource relation). Would be nice to have more examples like this in docs: ViewAction::make()->url(fn (Model $record): string => ResourceName::getUrl('view', ['record' => $record]))