© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
14 replies
Vincent

TextColumn placeholder empty

Hi!

I've got an app I just upgraded from v2 to v3. I've got most of the kinks worked out, but one small thing is bugging me:

->placeholder
->placeholder
seems to not do much. Here's the column:

TextColumn::make('cost_usd')
    ->placeholder('In progress')
    ->label('Cost')
    ->formatStateUsing(
        fn (float $state): string => '$' . number_format($state, 2)
    ),
TextColumn::make('cost_usd')
    ->placeholder('In progress')
    ->label('Cost')
    ->formatStateUsing(
        fn (float $state): string => '$' . number_format($state, 2)
    ),


The
cost_usd
cost_usd
attribute is a nullable float (😬).
formatStateUsing
formatStateUsing
here works fine, and the column in the resulting table looks correct...except if the value is
null
null
.
placeholder
placeholder
doesn't seem to make a difference.

The table is in a custom widget and otherwise works great.

Am I missing something?
Solution
I think this is a known bug and on the radar.
Jump to solution
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

Placeholder color in TextColumn
FilamentFFilament / ❓┊help
2y ago
Placeholder for empty Select relationship
FilamentFFilament / ❓┊help
3y ago
TextColumn formatState if state if empty
FilamentFFilament / ❓┊help
3y ago
TextColumn throwing an exception for the empty ENUM value
FilamentFFilament / ❓┊help
12mo ago