Tables\Columns\TextColumn::make('variant_attributes_json') ->formatStateUsing(function ($state): string {// dd($state); if (!empty($state && is_array($state))) { $key = key($state); $value = $state[$key]; return $key . ' - ' . $value; } return $state; })
protected static ?string $pluralLabel = 'Loonstrooks';