© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
dyo

formatStateUsing method in TextColumn is not working at the custom page

Why my formatStateUsing method in TextColumn is not working at the custom page.

I try debugging the problem with simple formatState like
TextColumn::make('name')
    ->formatStateUsing(fn ($record) => $record->id)
TextColumn::make('name')
    ->formatStateUsing(fn ($record) => $record->id)

But it returns nothing.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Problem with formatStateUsing in TextColumn of custom table attribute
FilamentFFilament / ❓┊help
2y ago
JSON TextColumn formatStateUsing badge repeats
FilamentFFilament / ❓┊help
3y ago
TextColumn->icon() disabled by formatStateUsing()
FilamentFFilament / ❓┊help
3y ago
Can't I give default in TextColumn formatStateUsing?
FilamentFFilament / ❓┊help
2y ago