F
Filament6mo ago
shaan

is there any titleCase() for filament tables?

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