© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
thyk123

it is possible to make badges with link for each badge

I want to ask it is possible to make badges in table that have multiple url link for each badge?
If it is possible how to do that?

Thank you
Solution
Tables\Columns\TextColumn::make('inventory_location_list.inventory_location.room_name')
          ->searchable()   
          ->badge()
          ->limitList(3)
          ->expandableLimitedList()
          ->url(function ($record): string {
              // dd($state);
              return InventoryLocationResource::getUrl('edit', ['record' => $record]);
          })
          ->label('At Room'),
Tables\Columns\TextColumn::make('inventory_location_list.inventory_location.room_name')
          ->searchable()   
          ->badge()
          ->limitList(3)
          ->expandableLimitedList()
          ->url(function ($record): string {
              // dd($state);
              return InventoryLocationResource::getUrl('edit', ['record' => $record]);
          })
          ->label('At Room'),
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to put a link for each badge in TextColumn?
FilamentFFilament / ❓┊help
3y ago
Is it possible to use hex color for Badge or Text column?
FilamentFFilament / ❓┊help
3y ago
Is it possible to add a badge to top line with a number on it?
FilamentFFilament / ❓┊help
16mo ago
Is it possible to hide Badge based on the value?
FilamentFFilament / ❓┊help
3y ago