fix: form-data-template failed to clear option (#2709)
This commit is contained in:
parent
51edb770bb
commit
6bc4434d63
@ -176,7 +176,7 @@ export const Templates = ({ style = {}, form }) => {
|
|||||||
filter: template?.dataScope,
|
filter: template?.dataScope,
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
onChange={(value) => handleTemplateDataChange(value.id, { ...value, ...template })}
|
onChange={(value) => handleTemplateDataChange(value?.id, { ...value, ...template })}
|
||||||
targetField={getCollectionJoinField(`${template?.collection}.${template.titleField}`)}
|
targetField={getCollectionJoinField(`${template?.collection}.${template.titleField}`)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user