+ ['small', 'medium'].includes(value),
+ },
},
mounted() {
this.$emit('validate', !this.validationError);
diff --git a/packages/design-system/src/components/N8nFormInputs/FormInputs.stories.js b/packages/design-system/src/components/N8nFormInputs/FormInputs.stories.js
index e736bec3f0..3f8b588511 100644
--- a/packages/design-system/src/components/N8nFormInputs/FormInputs.stories.js
+++ b/packages/design-system/src/components/N8nFormInputs/FormInputs.stories.js
@@ -68,6 +68,15 @@ FormInputs.args = {
],
},
},
+ {
+ name: 'agree',
+ properties: {
+ type: 'checkbox',
+ label: 'Signup for newsletter Signup for newsletter Signup for newsletter vSignup for newsletter Signup for newsletter Signup for newsletter Signup for newsletter Signup for newsletter Signup for newsletter Signup for newsletter v vSignup for newsletter Signup for newsletter Signup for newsletter Signup for newsletter',
+ labelSize: 'small',
+ tooltipText: 'Check this if you agree to be contacted by our marketing team Check this if you agree to be contacted by our marketing team Check this if you agree to be contacted by our marketing team Check this if you agree to be contacted by our marketing team'
+ }
+ }
],
};