mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
fix: fix DatePicker can't use problem
This commit is contained in:
parent
e86e40b93a
commit
8b205ec8b0
@ -84,9 +84,7 @@ export const useTableColumnInitializerFields = () => {
|
||||
'x-collection-field': `${name}.${field.name}`,
|
||||
'x-component': 'CollectionField',
|
||||
'x-read-pretty': true,
|
||||
'x-component-props': {
|
||||
mode: 'links',
|
||||
},
|
||||
'x-component-props': {},
|
||||
};
|
||||
// interfaceConfig?.schemaInitialize?.(schema, { field, readPretty: true, block: 'Table' });
|
||||
return {
|
||||
@ -210,9 +208,7 @@ export const useFormItemInitializerFields = (options?: any) => {
|
||||
'x-component': field.interface === 'o2m' && !snapshot ? 'TableField' : 'CollectionField',
|
||||
'x-decorator': 'FormItem',
|
||||
'x-collection-field': `${name}.${field.name}`,
|
||||
'x-component-props': {
|
||||
mode: 'links',
|
||||
},
|
||||
'x-component-props': {},
|
||||
'x-read-pretty': field?.uiSchema?.['x-read-pretty'],
|
||||
};
|
||||
// interfaceConfig?.schemaInitialize?.(schema, { field, block: 'Form', readPretty: form.readPretty });
|
||||
|
Loading…
Reference in New Issue
Block a user