mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-05 05:38:23 +08:00
fix: large field in the subtable do not display value (#2475)
This commit is contained in:
parent
3fc3d34aa7
commit
d58d0d697c
@ -10,7 +10,7 @@ export const Editable = observer((props) => {
|
||||
const field: any = useField();
|
||||
const containerRef = useRef(null);
|
||||
const fieldSchema = useFieldSchema();
|
||||
const value = typeof field.value === 'object' ? field.value?.default : field.value;
|
||||
const value = field.value;
|
||||
const schema: any = {
|
||||
name: fieldSchema.name,
|
||||
'x-collection-field': fieldSchema['x-collection-field'],
|
||||
|
Loading…
Reference in New Issue
Block a user