© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
7 replies
Mikail

badge color is not reactive on table

TextInputColumn::make('test_2'),
TextColumn::make('total')
                    ->badge()
                    ->color(fn (string $state): string => $state <= $failedGrade ? 'danger' : '')
TextInputColumn::make('test_2'),
TextColumn::make('total')
                    ->badge()
                    ->color(fn (string $state): string => $state <= $failedGrade ? 'danger' : '')


I have a testinput like this that update the total column. Total column get updated but badge color does not get updated until page reload.

Any way to make badge color also reactive on table?
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

Filament color is not reactive
FilamentFFilament / ❓┊help
16mo ago
CUSTOM COLOR ON BADGE
FilamentFFilament / ❓┊help
2y ago
Placeholder badge color not working
FilamentFFilament / ❓┊help
3y ago