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 committed Jun 19, 2023
1 parent a78b335 commit 5d6dd91
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 @@ -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 [
Expand Down

0 comments on commit 5d6dd91

Please sign in to comment.