Merge pull request 'fix: refs #6897 enhance column value formatting to include text value fallback' (!1459) from 6897-fixUpdatedValueOnList into test
Reviewed-on: #1459 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
b611430d7a
|
@ -520,7 +520,7 @@ function getToggleIcon(value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatColumnValue(col, row, dashIfEmpty) {
|
function formatColumnValue(col, row, dashIfEmpty) {
|
||||||
if (col?.format) {
|
if (col?.format || row[col?.name + 'TextValue']) {
|
||||||
if (selectRegex.test(col?.component) && row[col?.name + 'TextValue']) {
|
if (selectRegex.test(col?.component) && row[col?.name + 'TextValue']) {
|
||||||
return dashIfEmpty(row[col?.name + 'TextValue']);
|
return dashIfEmpty(row[col?.name + 'TextValue']);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue