mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 03:35:10 +00:00
Merge branch 'T-2771' into T-2327-and-2771
This commit is contained in:
commit
a60a0a6989
@ -45,7 +45,7 @@ export const linkTo: IField = {
|
||||
},
|
||||
},
|
||||
},
|
||||
availableTypes: ['belongsToMany'],
|
||||
// availableTypes: ['belongsToMany'],
|
||||
schemaInitialize(schema: ISchema, { readPretty, block, targetCollection }) {
|
||||
if (targetCollection?.titleField && schema['x-component-props']) {
|
||||
schema['x-component-props'].fieldNames = schema['x-component-props'].fieldNames || { value: 'id' };
|
||||
|
Loading…
Reference in New Issue
Block a user