From 206cecd213598df861bb5a20aa930317c70c25a8 Mon Sep 17 00:00:00 2001 From: pablone Date: Fri, 21 Feb 2025 07:57:40 +0100 Subject: [PATCH] fix: refs #6897 enhance column value formatting to include text value fallback --- src/components/VnTable/VnTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index d7ed2ea27..015b3e455 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -520,7 +520,7 @@ function getToggleIcon(value) { } function formatColumnValue(col, row, dashIfEmpty) { - if (col?.format) { + if (col?.format || row[col?.name + 'TextValue']) { if (selectRegex.test(col?.component) && row[col?.name + 'TextValue']) { return dashIfEmpty(row[col?.name + 'TextValue']); } else { -- 2.40.1