Change relation manager label

Does anyone know how I change this Edit label when I have a Combined relation manger tabs active? Thanks.
No description
8 Replies
403gtfo
403gtfo4w ago
Add this in your relation manager
protected static ?string $title = 'Name for the tab';
protected static ?string $title = 'Name for the tab';
A lot of these cool things can be found if you open the relation manager fire. Some even have handy comments 😄 Path: vendor/filament/filament/src/Resources/RelationManagers/RelationManager.php
joao nivaldo
joao nivaldoOP4w ago
Hello, this option when placed in the relation manager only changes the relationship tab. In this case, it is the Add-ons. I didn't find this first EDIT tab.
joao nivaldo
joao nivaldoOP4w ago
No description
403gtfo
403gtfo4w ago
Ooooooo I see yup Try
swift
protected static ?string $label = 'something
swift
protected static ?string $label = 'something
Sorry I didn't realize with the different language sorry. It'll be one of these little vars in that file I sent the path to.
joao nivaldo
joao nivaldoOP4w ago
No problem. thanks
joao nivaldo
joao nivaldoOP4w ago
It worked perfectly, thank you very much. Ps. I'm a big fan of yours, I watch your videos every day at the beginning of my work morning. I loved your idea of ​​embracing Filament. Congratulations.
Povilas K
Povilas K4w ago
Glad to help! And thanks for the nice words.
Want results from more Discord servers?
Add your server