is there any titleCase() for filament tables?
to display the table values in title case
2 Replies
->formatStateUsing(fn ($state) => str($state)->titleCase()
?Method Illuminate\Support\Stringable::titleCase does not exist.
->formatStateUsing(fn (string $state): string => str($state)->title()),
this is the right one
🙂 thank you