FilamentF
Filament2y ago
wdog

Add Icon in RelationManager Tab for Edit

Hi!


I've a resource with 2 relation manager defined

    public static function getRelations(): array
    {
        return [
            IngredientsRelationManager::class,
            ProceduresRelationManager::class,
        ];
    }


I can add an icon to the TAB RelationManager by simply adding

protected static ?string $icon = 'heroicon-o-light-bulb';


to the classes like
IngredientsRelationManager


but how can I add an icon ( and eventually a badge ) to the Edit tab ( take a look at the image )

thanks
immagine.png
Was this page helpful?