Show both an infolist and a form on a RelationManager modal
If I define infolist() on a RelationManager class, I get a modal with an infolist. If I define form() I get a form. But if I define both, I don't get both but only the infolist. Any quick fix for this? Do I need to override the view for this or is there a simpler solution?
Solution:Jump to solution
Looks like I need to override the view as this is an elseif
https://github.com/filamentphp/filament/blob/3.x/packages/actions/resources/views/components/modals.blade.php#L111...
GitHub
filament/packages/actions/resources/views/components/modals.blade.p...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
2 Replies
Hoped I could override this
with this
but no success
Solution
Looks like I need to override the view as this is an elseif
https://github.com/filamentphp/filament/blob/3.x/packages/actions/resources/views/components/modals.blade.php#L111
GitHub
filament/packages/actions/resources/views/components/modals.blade.p...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament