mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(n8n Form Trigger Node): Improvements (#10092)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com> Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
This commit is contained in:
@@ -4,20 +4,29 @@ export type FormField = {
|
||||
requiredField: boolean;
|
||||
fieldOptions?: { values: Array<{ option: string }> };
|
||||
multiselect?: boolean;
|
||||
multipleFiles?: boolean;
|
||||
acceptFileTypes?: string;
|
||||
formatDate?: string;
|
||||
placeholder?: string;
|
||||
};
|
||||
|
||||
export type FormTriggerInput = {
|
||||
isSelect?: boolean;
|
||||
isMultiSelect?: boolean;
|
||||
isTextarea?: boolean;
|
||||
isFileInput?: boolean;
|
||||
isInput?: boolean;
|
||||
labbel: string;
|
||||
label: string;
|
||||
defaultValue?: string;
|
||||
id: string;
|
||||
errorId: string;
|
||||
type?: 'text' | 'number' | 'date';
|
||||
inputRequired: 'form-required' | '';
|
||||
selectOptions?: string[];
|
||||
multiSelectOptions?: Array<{ id: string; label: string }>;
|
||||
acceptFileTypes?: string;
|
||||
multipleFiles?: 'multiple' | '';
|
||||
placeholder?: string;
|
||||
};
|
||||
|
||||
export type FormTriggerData = {
|
||||
@@ -31,4 +40,7 @@ export type FormTriggerData = {
|
||||
formFields: FormTriggerInput[];
|
||||
useResponseData?: boolean;
|
||||
appendAttribution?: boolean;
|
||||
customAttribution?: string;
|
||||
};
|
||||
|
||||
export const FORM_TRIGGER_AUTHENTICATION_PROPERTY = 'authentication';
|
||||
|
||||
Reference in New Issue
Block a user