F
Filament11mo ago
xy

Disable relationmanager tabs

I have 2 relation managers under my EditRecord page. How can i disable the tabs? I just want them listed one after the other.
17 Replies
Kenneth Sese
Kenneth Sese11mo ago
Try removing the RelationGroup in your Resource.
xy
xy11mo ago
I don't have a RelationGroup?
Kenneth Sese
Kenneth Sese11mo ago
If they are combined with the form then remove the hasCombinedRelationManagerTabsWithContent on your editResource
Salah Kanjo
Salah Kanjo11mo ago
Wrap each relation class with RelationGroup i'd say
Kenneth Sese
Kenneth Sese11mo ago
By default, RM aren’t grouped and aren’t combined with the form. One of those two must be set someplace Thats not necessary
xy
xy11mo ago
i don't see
hasCombinedRelationManagerTabsWithContent
hasCombinedRelationManagerTabsWithContent
either?
Kenneth Sese
Kenneth Sese11mo ago
Are the RM combined in tabs with the Edit form? Or below the edit form?
xy
xy11mo ago
Below. Registered like so under edit resource:
public function getRelationManagers(): array
{
return [
BlogResource\RelationManagers\CommentsRelationManager::make(),
BlogResource\RelationManagers\RelationManager::make(),
];
}
public function getRelationManagers(): array
{
return [
BlogResource\RelationManagers\CommentsRelationManager::make(),
BlogResource\RelationManagers\RelationManager::make(),
];
}
Kenneth Sese
Kenneth Sese11mo ago
Check your main resource...that's where the RM's go
Salah Kanjo
Salah Kanjo11mo ago
GitHub
How to stack multiple relation manager tables instead of tabs? · fi...
I have 3 relation managers, which are viewed in tabs by default instead of stacked tables. How can I reverse this so that I have multiple tables viewable on scroll. The opposite of this? Move tabs ...
xy
xy11mo ago
The method in the main resource is the same
Kenneth Sese
Kenneth Sese11mo ago
I'm sorry! I'm wrong You actually need to group them. @Salah Kanjo was right Apologies But just group them once
xy
xy11mo ago
Yes, this worked, thanks!
xy
xy11mo ago
Is there a way to also add the relation manager in the middle of the edit form rather than at the end?
Salah Kanjo
Salah Kanjo11mo ago
You're welcome!
xy
xy11mo ago
In between 2 sections in $form
Want results from more Discord servers?
Add your server
More Posts
SelectFilter on NavBarHello, I wonder if is possible to put a SelectFilter in the top navigation bar to filter table resulafter create functionHi. How is called the fn that allows you to trigger an event after create a record?unknown error when trying to access livewire dataI do this to access the livewire property and it throughts that error. any ideas? https://flareapp.iHow could I add the options to a Select, when the options are inside the relationship in a json coluHello, how could I assign the options depending on the selected form but the options would be insideHow can I assign the options to a Select, when the options are inside a json?Hello, how could I assign the options depending on the selected form but the options would be insideSelect Component inside helper class is not updatedI have a Select Component for a Form that is inside a helper class. This Select Component is dependihow to use infoList & form, table together on a filament page?I look at the filament demo codebase but the examples there are all resource based, i like to have aViewing image after upload with FileUpload component - insecure resourceI'm using the FileUpload component in a form and it works correctly during Add (over HTTPS). I can Updated to V3 Aside flashes on route changeBasically the title I just updated to v3 but on navigation (changing the route) the aside flashes I'using hiddenOn and hidden in conjunctionCurrently, there's no way of achieving this, as the last chained call will override the previous. s