Using the enum label with a text column in my table.
I read the doc. That not work for me. Where am I do wrong?
If you use a TextColumn with the Table Builder, and it is cast to an enum in your Eloquent model, Filament will automatically use the HasLabel interface to display the enum's label instead of its raw value.Tables\Columns\TextColumn::make('type'),protected $casts = [
'type' => EmploymentType::class,
];