Render RelationManager anywhere

Currently you can render a RelationManager underneath the form or with tabs above using hasCombinedRelationManagerTabsWithForm. Is there any (planned) functionality which allows rendering of RelationManagers in tabs? (Filament\Forms\Components\Tabs). Or e.g. as a standalone field. I really feel like it's a very restricted component regarding layout placement. We've tried making a relation manager field component but it seems to have some collisions with the form builder the way we tried to build it.
5 Replies
Dan Harrin
Dan Harrin2y ago
unfortunately it is currently not possible for us to provide such a feature this is because the relation manager action modals require a <form>, and browsers do not support nesting <form> elements within each other. livewire v3 may allow us to teleport those forms away, to make way for this feature
Jordy ten Elsen
Jordy ten ElsenOP2y ago
Alright, thank you for the information @Dan Harrin
Gil
Gil12mo ago
in currently version is possible or not?
DrByte
DrByte12mo ago
Is this what you want? This is a screenshot from the current Filament 3.1 demo website. To do that, simply list multiple relation managers in the Resource's getRelations() array: https://filamentphp.com/docs/3.x/panels/resources/relation-managers#creating-a-relation-manager
No description
Want results from more Discord servers?
Add your server