From 75ca0c16249e0eb1296fc3b6a71ed58489f9593f Mon Sep 17 00:00:00 2001 From: Michael Krecek Date: Mon, 19 Jun 2023 23:54:51 +0200 Subject: [PATCH] Fix missing typecasting for Tooltip fields --- src/Table/Column/Tooltip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Table/Column/Tooltip.php b/src/Table/Column/Tooltip.php index c6c63cb8dc..e50012f4a5 100644 --- a/src/Table/Column/Tooltip.php +++ b/src/Table/Column/Tooltip.php @@ -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 [