From 5d6dd91779212e00f0c1b1d97cbfb627d695e211 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 f9a75f37c5..2f5760c0de 100644 --- a/src/Table/Column/Tooltip.php +++ b/src/Table/Column/Tooltip.php @@ -60,7 +60,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 [