F
Filament2mo ago
Moktar

How to customize the relation manager for the create button

Hello filament lovers I've a relation manager for contacts I've managed to customize the Create Contact by overriding the method getModelLabel from the class Filament\Resources\RelationManagers\RelationManager and it works fine. The thing is the method is marked as deprecated and says Override the table() method to configure the table. I don't know what table() method thanks
1 Reply
Moktar
Moktar2mo ago
I've found it
public function table(Table $table): Table
{
return $table
->modelLabel('customized title')
public function table(Table $table): Table
{
return $table
->modelLabel('customized title')
Want results from more Discord servers?
Add your server