fix: view collection json field rendering error (#3077)
This commit is contained in:
parent
e2ed6be305
commit
78bd78ca3d
@ -70,7 +70,7 @@ export const PreviewTable = (props) => {
|
|||||||
'x-component': schema && fieldSource ? 'CollectionField' : 'Input',
|
'x-component': schema && fieldSource ? 'CollectionField' : 'Input',
|
||||||
'x-read-pretty': true,
|
'x-read-pretty': true,
|
||||||
'x-collection-field': fieldSource?.join('.'),
|
'x-collection-field': fieldSource?.join('.'),
|
||||||
default: content,
|
default: JSON.stringify(content),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user