diff --git a/packages/editor-ui/src/components/CredentialsInput.vue b/packages/editor-ui/src/components/CredentialsInput.vue
index 062acd5356..ce8002cd04 100644
--- a/packages/editor-ui/src/components/CredentialsInput.vue
+++ b/packages/editor-ui/src/components/CredentialsInput.vue
@@ -12,13 +12,41 @@
+
+
+ Credential Data:
+
+
+
+
+
+
+
+
+ {{parameter.displayName}}:
+
+
+
+
+
+
+
+
+
+
OAuth
-
+
+
+
+
+ Not all required credential properties are filled
+
+
@@ -46,29 +74,6 @@
-
-
- Credential Data:
-
-
-
-
-
-
-
-
- {{parameter.displayName}}:
-
-
-
-
-
-
-
-
-
-
-
Nodes with access:
@@ -230,6 +235,18 @@ export default mixins(
oAuthCallbackUrl (): string {
return this.$store.getters.getWebhookBaseUrl + 'rest/oauth2-credential/callback';
},
+ requiredPropertiesFilled (): boolean {
+ for (const property of this.credentialProperties) {
+ if (property.required !== true) {
+ continue;
+ }
+
+ if (!this.propertyValue[property.name]) {
+ return false;
+ }
+ }
+ return true;
+ },
},
methods: {
copyCallbackUrl (): void {