diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index 544a1a84343..2c567c49aa2 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -137,7 +137,9 @@ typeof value === "object" ? value._id : value ) // Make sure field state is valid - fieldApi.setValue(values) + if (values?.length > 0) { + fieldApi.setValue(values) + } return values }