diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index f8a84a00cb..a6d0564f7f 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -60,7 +60,7 @@ // Persist the initial values as options, allowing them to be present in the dropdown, // even if they are not in the inital fetch results let valueAsSafeArray = fieldState.value || [] - if (!Array.isArray(fieldState.value)) { + if (!Array.isArray(valueAsSafeArray)) { valueAsSafeArray = [fieldState.value] } optionsObj = valueAsSafeArray.reduce((accumulator, value) => {