Allow to add and delete fields (#10990)

- Allow to add a new field
- On field click, display a delete button
- Use id instead of names for fields



https://github.com/user-attachments/assets/4ebffe22-225a-4bae-aa49-99e66170181a
This commit is contained in:
Thomas Trompette
2025-03-18 17:24:52 +01:00
committed by GitHub
parent 6d517360d1
commit 0ce91d84c1
7 changed files with 139 additions and 38 deletions
@@ -3,8 +3,8 @@ import { FieldMetadataType } from 'twenty-shared';
import { BaseWorkflowActionSettings } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action-settings.type';
export type FormFieldMetadata = {
id: string;
label: string;
name: string;
type: FieldMetadataType;
placeholder?: string;
settings?: Record<string, any>;