fix(client/form-fields): fix fields's x-read-pretty (#994)
This commit is contained in:
parent
9f5f2d6028
commit
b23d2bcae7
@ -171,6 +171,7 @@ export const useFormItemInitializerFields = (options?: any) => {
|
|||||||
'x-component': field.interface === 'o2m' ? 'TableField' : 'CollectionField',
|
'x-component': field.interface === 'o2m' ? 'TableField' : 'CollectionField',
|
||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
'x-collection-field': `${name}.${field.name}`,
|
'x-collection-field': `${name}.${field.name}`,
|
||||||
|
'x-read-pretty': field?.uiSchema?.['x-read-pretty'],
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user