fix(n8n Form Trigger Node): Fix missing options when using respond to webhook (#9282)

This commit is contained in:
Jon 2024-05-03 10:02:46 +01:00 committed by GitHub
parent ff0955c995
commit 6ab3781570
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,11 +76,6 @@ const descriptionV2: INodeTypeDescription = {
type: 'collection', type: 'collection',
placeholder: 'Add Option', placeholder: 'Add Option',
default: {}, default: {},
displayOptions: {
hide: {
responseMode: ['responseNode'],
},
},
options: [ options: [
{ {
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased // eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
@ -91,7 +86,14 @@ const descriptionV2: INodeTypeDescription = {
description: description:
'Whether to include the link “Form automated with n8n” at the bottom of the form', 'Whether to include the link “Form automated with n8n” at the bottom of the form',
}, },
respondWithOptions, {
...respondWithOptions,
displayOptions: {
hide: {
'/responseMode': ['responseNode'],
},
},
},
], ],
}, },
], ],