diff --git a/packages/builder/src/components/backend/Datasources/CreateEditRelationship.svelte b/packages/builder/src/components/backend/Datasources/CreateEditRelationship.svelte index aa07fb630c..9e42dfecd9 100644 --- a/packages/builder/src/components/backend/Datasources/CreateEditRelationship.svelte +++ b/packages/builder/src/components/backend/Datasources/CreateEditRelationship.svelte @@ -125,9 +125,10 @@ } function validate() { - if (!allRequiredAttributesSet() && !hasValidated) { + if (!allRequiredAttributesSet(relationshipType) && !hasValidated) { return } + hasValidated = true errorChecker.setType(relationshipType) const fromTable = getTable(fromId),