feat(n8n Form Trigger Node): Add text area and password input types (#7474)

Signed-off-by: yoshino-s <cy-cui@outlook.com>
This commit is contained in:
Yoshino-s
2023-11-01 20:23:28 +08:00
committed by GitHub
parent ce14f6266b
commit b72040aa54
4 changed files with 33 additions and 8 deletions

View File

@@ -52,6 +52,8 @@ export const prepareFormData = (
input.isSelect = true;
const fieldOptions = field.fieldOptions?.values ?? [];
input.selectOptions = fieldOptions.map((e) => e.option);
} else if (fieldType === 'textarea') {
input.isTextarea = true;
} else {
input.isInput = true;
input.type = fieldType as 'text' | 'number' | 'date';