mirror of
https://github.com/nocobase/nocobase
synced 2024-11-14 16:34:14 +00:00
fix: required association field validate error after select value with variable in data scope (#5399)
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Some checks are pending
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
This commit is contained in:
parent
3a7574663f
commit
9f71eb7730
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user