Filament color is not reactive
At first, i found out the badge color inside table doesn't update alone with the text.
For example, when the
The text column code:
The enum status code:
Upon some more troubleshooting, i realized all colors are not reactive.
Even when i have a method that dynamically return filament action, lets say
For example, when the
status value is changed from activated to deactivated, the text inside badge will update to the getLabel() value, however, the color of the badge stay the same. I thought it was an issue relating to badge. The text column code:
The enum status code:
Upon some more troubleshooting, i realized all colors are not reactive.
Even when i have a method that dynamically return filament action, lets say
ban or unban action, which has danger or success color. The dynamic action will update based on user status, however, the color of the action itself doesnt change.