F
Filament7mo ago
shaan

is there any titleCase() for filament tables?

to display the table values in title case
2 Replies
Dennis Koch
Dennis Koch7mo ago
->formatStateUsing(fn ($state) => str($state)->titleCase() ?
shaan
shaanOP7mo 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