Badge color doesn't update using Enum status
For text column inside table builder, when using a badge() with status casted from Enum, the color doesnt change when the status change.
For example, when then
The text column code:
The enum status code:
I did make sure the status is casted to enum from my model, any help will be appreciated!
For example, when then
status value is changed from activated to deactivated via form, the text inside badge will update to the getLabel() value, however, the color of the badge doesnt update.The text column code:
The enum status code:
I did make sure the status is casted to enum from my model, any help will be appreciated!