fix(plugin-fm): fix attachment field param typo (#2577)
This commit is contained in:
parent
d56cc66ef9
commit
ec3a720aa9
@ -31,7 +31,7 @@ export const attachment: IField = {
|
|||||||
schema['x-component-props'] = {};
|
schema['x-component-props'] = {};
|
||||||
}
|
}
|
||||||
schema['x-component-props']['action'] = `${field.target}:create${
|
schema['x-component-props']['action'] = `${field.target}:create${
|
||||||
field.storage ? `?attachementField=${field.collectionName}.${field.name}` : ''
|
field.storage ? `?attachmentField=${field.collectionName}.${field.name}` : ''
|
||||||
}`;
|
}`;
|
||||||
},
|
},
|
||||||
initialize: (values: any) => {
|
initialize: (values: any) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user