Skip to content

Commit

Permalink
Fix missing typecasting for Tooltip fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dtemaster authored and mvorisek committed Nov 28, 2024
1 parent 78b7fd5 commit 75ca0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table/Column/Tooltip.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function getDataCellHtml(?Field $field = null, array $attr = []): string
public function getHtmlTags(Model $row, ?Field $field): array
{
// @TODO remove popup tooltip when null
$tooltip = $row->get($this->tooltipField);
$tooltip = $this->getApp()->uiPersistence->typecastSaveField($row->getField($this->tooltipField), $row->get($this->tooltipField));

if ($tooltip === null || $tooltip === '') {
return [
Expand Down

0 comments on commit 75ca0c1

Please sign in to comment.