Merge branch 'main' into next

This commit is contained in:
GitHub Actions Bot 2024-10-12 09:35:12 +00:00
commit 60b3f9b2e2

View File

@ -82,7 +82,8 @@ const InternalAssociationSelect = observer(
if (
linkageFields.includes(fieldPath?.props?.name) &&
field.value &&
fieldPath?.indexes?.[0] === field?.indexes?.[0]
fieldPath?.indexes?.[0] === field?.indexes?.[0] &&
fieldPath?.props?.name !== field.props.name
) {
field.setValue(undefined);
setInnerValue(undefined);