is there any titleCase() for filament tables?

to display the table values in title case
2 Replies
Dennis Koch
Dennis Koch4w ago
->formatStateUsing(fn ($state) => str($state)->titleCase() ?
shaan
shaan4w ago
Method Illuminate\Support\Stringable::titleCase does not exist. ->formatStateUsing(fn (string $state): string => str($state)->title()), this is the right one 🙂 thank you
Want results from more Discord servers?
Add your server
More Posts