fix(plugin-fm): fix error when add attachment field to manual form assigned values (#2503)
This commit is contained in:
parent
0fe5bdc859
commit
96caf9befa
@ -27,6 +27,9 @@ export const attachment: IField = {
|
||||
schema['x-component-props']['size'] = 'small';
|
||||
}
|
||||
|
||||
if (!schema['x-component-props']) {
|
||||
schema['x-component-props'] = {};
|
||||
}
|
||||
schema['x-component-props']['action'] = `${field.target}:create${
|
||||
field.storage ? `?attachementField=${field.collectionName}.${field.name}` : ''
|
||||
}`;
|
||||
|
Loading…
Reference in New Issue
Block a user