mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: linked field value persisting on submission after relation field reset (#6207)
This commit is contained in:
parent
dfa58024dc
commit
075b1f0c88
@ -106,8 +106,8 @@ const InternalAssociationSelect = observer(
|
|||||||
isEqual(fieldPath?.indexes, field?.indexes) &&
|
isEqual(fieldPath?.indexes, field?.indexes) &&
|
||||||
fieldPath?.props?.name !== field.props.name
|
fieldPath?.props?.name !== field.props.name
|
||||||
) {
|
) {
|
||||||
field.setValue(undefined);
|
field.setValue(null);
|
||||||
setInnerValue(undefined);
|
setInnerValue(null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user