20250423 #161

Merged
nisse merged 7 commits from development into main 2025-04-24 00:15:03 +02:00
Showing only changes of commit 903ab95d6c - Show all commits

View File

@ -347,6 +347,17 @@ public static function table(Table $table): Table
->sortable(),
TextColumn::make('customer.company_name')
->limit(25)
->tooltip(function (TextColumn $column): ?string {
$state = $column->getState();
if (strlen($state) <= $column->getCharacterLimit()) {
return null;
}
// Only render the tooltip if the column content exceeds the length limit.
return $state;
})
->searchable()
->sortable(),