mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(n8n Form Trigger Node): Respond with File (#13507)
This commit is contained in:
@@ -153,6 +153,11 @@ const completionProperties = updateDisplayOptions(
|
||||
value: 'showText',
|
||||
description: 'Display simple text or HTML',
|
||||
},
|
||||
{
|
||||
name: 'Return Binary File',
|
||||
value: 'returnBinary',
|
||||
description: 'Return incoming binary file',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -176,7 +181,7 @@ const completionProperties = updateDisplayOptions(
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
respondWith: ['text'],
|
||||
respondWith: ['text', 'returnBinary'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -190,7 +195,7 @@ const completionProperties = updateDisplayOptions(
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
respondWith: ['text'],
|
||||
respondWith: ['text', 'returnBinary'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -210,6 +215,21 @@ const completionProperties = updateDisplayOptions(
|
||||
placeholder: 'e.g. Thanks for filling the form',
|
||||
description: 'The text to display on the page. Use HTML to show a customized web page.',
|
||||
},
|
||||
{
|
||||
displayName: 'Input Data Field Name',
|
||||
name: 'inputDataFieldName',
|
||||
type: 'string',
|
||||
displayOptions: {
|
||||
show: {
|
||||
respondWith: ['returnBinary'],
|
||||
},
|
||||
},
|
||||
default: 'data',
|
||||
placeholder: 'e.g. data',
|
||||
description:
|
||||
'Find the name of input field containing the binary data to return in the Input panel on the left, in the Binary tab',
|
||||
hint: 'The name of the input field containing the binary file data to be returned',
|
||||
},
|
||||
...waitTimeProperties,
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -233,7 +253,7 @@ const completionProperties = updateDisplayOptions(
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
respondWith: ['text'],
|
||||
respondWith: ['text', 'returnBinary'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user