filament icon indicating copy to clipboard operation
filament copied to clipboard

Parent Resource form not displayed when using tabs

Open andreg opened this issue 1 year ago • 1 comments

Package

filament/filament

Package Version

v4.0.0-beta21

Laravel Version

v12.21.0

Livewire Version

v3.6.4

PHP Version

PHP 8.3.24

Problem description

Following up on #17173, presumably after the #17183 update, accessing the edit tab of a Resource that has nested Resources and that makes use of the hasCombinedRelationManagerTabsWithContent method returning true, shows nothing instead of the parent Resource form.

Expected behavior

The parent Resource form to be displayed. Essentially, I'd expect the same behavior that we get by accessing the page with ?relation=0 in the query string.

Steps to reproduce

Install the repo, and create a "Project". After redirection, the Project form is not shown, and neither is if we go back one step and try to access the Proejct form in edit mode.

Reproduction repository (issue will be closed if this is not valid)

https://github.com/andreg/filament-nested-resource-delete-redirection

Relevant log output


andreg avatar Aug 04 '25 14:08 andreg

https://github.com/filamentphp/filament/pull/17199

danharrin avatar Aug 05 '25 09:08 danharrin