Change the title on relation manager modal
Hello,
Maybe someone can tell me how we can change the title on the relation manager ?
I dont' find how we can make this.
I would change this with a custom title and not the name of the relationship.
Thanks.
Solution:Jump to solution
Ok Dennis that's working. Very thanks.
So for people who want to do this, in your RelationManager file, in the table function, I made this :
```
->headerActions([...
6 Replies
Hello Leandro, no it's not working.
Call to undefined method Filament\Resources\Table::modelLabel()
I put your code in the table function.
I use the v2
I think it will use the
$title
of RM + Create/Edit keyword.
You can overwrite the whole thing via:
Solution
Ok Dennis that's working. Very thanks.
So for people who want to do this, in your RelationManager file, in the table function, I made this :
`
ahh sorry, I didn't notice the filament version
Don't worry, thanks for your help π