@@ -1086,11 +1057,12 @@ function buildAppearanceSection(
),
},
- // spec: NamedListView.conditionalFormatting
+ // spec: NamedListView.conditionalFormatting (grid/kanban: both process conditional formatting rules)
{
key: '_conditionalFormatting',
label: t('console.objectView.conditionalFormatting'),
type: 'custom',
+ visibleWhen: supportsConditionalFormatting,
render: (_value, _onChange, draft) => {
return (
{
return (
{
return (
) => boolean,
+ visibleWhen?: (draft: Record) => boolean,
): ConfigField {
return {
key,
label,
type: 'custom',
disabledWhen,
+ visibleWhen,
render: (value, onChange, draft) => (
) => boolean,
): ConfigField {
return {
key: `_${key}`,
label,
type: 'custom',
+ visibleWhen,
render: (_value, _onChange, draft) => {
return (