mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:05:45 +00:00
fix: association select data scope linkage should support edit form (#5149)
This commit is contained in:
parent
cfbc2a6c15
commit
8beb8dbc3e
@ -80,8 +80,8 @@ const InternalAssociationSelect = observer(
|
||||
onFieldInputValueChange('*', (fieldPath: any) => {
|
||||
const linkageFields = filterAnalyses(field.componentProps?.service?.params?.filter) || [];
|
||||
if (linkageFields.includes(fieldPath?.props?.name) && field.value) {
|
||||
field.setValue(field.initialValue);
|
||||
setInnerValue(field.initialValue);
|
||||
field.setValue(undefined);
|
||||
setInnerValue(undefined);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user