F
Filamentβ€’11mo ago
Sector

Label for stacks

Hey Guys! There is any way to give the Stacks some kind of label? Because if I am using Stack::make method, it works perfectly, but a little bit confusing to what's inside. Thanks for the answers!
6 Replies
Sector
SectorOPβ€’11mo ago
Eg.:
No description
Sector
SectorOPβ€’11mo ago
Anyone? 😒
awcodes
awcodesβ€’11mo ago
TextColumn::make('blah')
->formatStateUsing(function ($state) {
return 'Blah: ' . $state;
})
TextColumn::make('blah')
->formatStateUsing(function ($state) {
return 'Blah: ' . $state;
})
there's no way for Filament to know where to place the label when using a Stack so you have to do that yourself if a label is needed.
Sector
SectorOPβ€’11mo ago
Oh, thanks. I got it. But sadly it's not working in case of the icon columns etc. But thanks for your answer! πŸ™‚
Sector
SectorOPβ€’11mo ago
And there is a way to add some kind of text to the icon columns inside a stacks?
No description
Sector
SectorOPβ€’11mo ago
or anyone has any idea how should I indicate what the icon columns stand for?
Want results from more Discord servers?
Add your server