FilamentF
Filament2y ago
Pscl

Showing icons in Table Column Badge

Hey all,

Tables\Columns\TextColumn::make('types.name')->badge()->icon('types.icon')


Iam trying to accomplish this. As my types are stored in database and not as enum, how can I add icon within the badge that loads the icon from icon column in types table?


Thanks!
Was this page helpful?