diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index 48476bfbb4..68e0c95b51 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -72,10 +72,13 @@ const result = { ...optionsObj, ...(fetchResults || [])?.reduce((accumulator, row) => { - accumulator[row._id] = row + if (!optionsObj[row._id]) { + accumulator[row._id] = row + } return accumulator }, {}), } + return Object.values(result) } $: {