diff --git a/packages/client/src/components/app/forms/RelationshipField.svelte b/packages/client/src/components/app/forms/RelationshipField.svelte index 960ad0eaec..81efbfd2bd 100644 --- a/packages/client/src/components/app/forms/RelationshipField.svelte +++ b/packages/client/src/components/app/forms/RelationshipField.svelte @@ -118,7 +118,7 @@ } if (defaultVal) { await fetch.update({ - query: { equal: { _id: defaultValue } }, + query: { equal: { _id: defaultVal } }, }) const defaultRow = $fetch.rows?.[0] if (defaultRow) {