Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions packages/nodes-base/nodes/Form/v2/FormTriggerV2.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ const descriptionV2: INodeTypeDescription = {
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
hide: {
responseMode: ['responseNode'],
},
},
options: [
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
Expand All @@ -91,7 +86,14 @@ const descriptionV2: INodeTypeDescription = {
description:
'Whether to include the link “Form automated with n8n” at the bottom of the form',
},
respondWithOptions,
{
...respondWithOptions,
displayOptions: {
hide: {
'/responseMode': ['responseNode'],
},
},
},
],
},
],
Expand Down
Loading