fix(n8n Form Trigger Node): Improve copy and a few tweaks (no-changelog) (#10243)

Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
Giulio Andreini 2024-08-01 10:57:05 +02:00 committed by GitHub
parent 88a170176a
commit 785c82cfec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 9 deletions

View file

@ -282,7 +282,10 @@
display: inline-block;
}
@media only screen and (max-width: 400px) {
@media only screen and (max-width: 500px) {
body {
background-color: white;
}
hr {
display: block;
}
@ -291,16 +294,16 @@
min-height: 100vh;
padding: 24px;
background-color: white;
border: 1px solid #dbdfe7;
border-radius: 8px;
box-shadow: 0px 4px 16px 0px #634dff0f;
border: 0px solid #dbdfe7;
border-radius: 0px;
box-shadow: 0px 0px 0px 0px white;
}
.card {
padding: 0px;
background-color: white;
border: 0px solid #dbdfe7;
border-radius: 0px;
box-shadow: 0px 0px 10px 0px #634dff0f;
box-shadow: 0px 0px 0px 0px white;
margin-bottom: 0px;
}
}

View file

@ -54,7 +54,7 @@ export const formFields: INodeProperties = {
type: 'string',
default: '',
placeholder: 'e.g. What is your name?',
description: 'Label appears above the input field',
description: 'Label that appears above the input field',
required: true,
},
{
@ -102,6 +102,7 @@ export const formFields: INodeProperties = {
{
displayName: 'Placeholder',
name: 'placeholder',
description: 'Sample text to display inside the field',
type: 'string',
default: '',
displayOptions: {
@ -169,11 +170,11 @@ export const formFields: INodeProperties = {
},
},
{
displayName: 'Accept File Types',
displayName: 'Accepted File Types',
name: 'acceptFileTypes',
type: 'string',
default: '',
description: 'List of file types that can be uploaded, separated by commas',
description: 'Comma-separated list of allowed file extensions',
hint: 'Leave empty to allow all file types',
placeholder: 'e.g. .jpg, .png',
displayOptions: {
@ -188,7 +189,7 @@ export const formFields: INodeProperties = {
type: 'string',
default: '',
description:
'Returns a string representation of this field formatted according to the specified format string. For a table of tokens and their interpretations, see <a href="https://moment.github.io/luxon/#/formatting?ID=table-of-tokens" target="_blank">here</a>.',
'How to format the date in the output data. For a table of tokens and their interpretations, see <a href="https://moment.github.io/luxon/#/formatting?ID=table-of-tokens" target="_blank">here</a>.',
placeholder: 'e.g. dd/mm/yyyy',
hint: 'Leave empty to use the default format',
displayOptions: {