Nullable PHP Enum in Table TextColumn Oddity

I have a model/table that is a collection of various statuses (PHP Enum values) that are nullable if it's never been set.

When using a TextColumn like so:

Tables\Columns\TextColumn::make('state.current_confirmation_status')
  ->label('Confirmation')
  ->placeholder('Unknown')
  ->badge()
  ->sortable(),


If the field actually has an enum value, it works and shows the badge as expected. If the value in the column is null, then the placeholder (nor default) doesn't properly set a 'fallback' state.

What am I missing?
image.png
Was this page helpful?