Disabling cell formatting, it is currently incompatiable with cell/row conditions in grids and to avoid breaking those for now we are removing the capability until both can be a aligned to use the same mechanism of binding evaluation.

This commit is contained in:
mike12345567 2025-02-07 13:49:34 +00:00
parent b4086e1187
commit 5df197a36e
3 changed files with 3 additions and 9 deletions

View File

@ -3089,12 +3089,6 @@
"type": "tableConditions",
"label": "Conditions",
"key": "conditions"
},
{
"type": "text",
"label": "Format",
"key": "format",
"info": "Changing format will display values as text"
}
]
},
@ -7691,8 +7685,7 @@
{
"type": "columns/grid",
"key": "columns",
"resetOn": "table",
"nested": true
"resetOn": "table"
}
]
},

View File

@ -105,7 +105,7 @@
order: idx,
conditions: column.conditions,
visible: !!column.active,
format: createFormatter(column),
// format: createFormatter(column),
}
if (column.width) {
overrides[column.field].width = column.width

View File

@ -173,5 +173,6 @@ const evaluateConditions = (row: UIRow, conditions: UICondition[]) => {
// Swallow
}
}
console.log(metadata)
return metadata
}