F
Filament16mo ago
lpoems

How to change the content of TextColumn

Tables\Columns\TextColumn::make('status') ->badge()->color(fn (bool $state): bool => match ($state) { true => 'success', false => 'danger', }) The TextColumn will display 0 or 1 (true or false). How to make it display 'True' or 'False' ?
2 Replies
Want results from more Discord servers?
Add your server