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:
@ -86,8 +86,8 @@ export const workflowFormActionSettingsSchema =
|
||||
baseWorkflowActionSettingsSchema.extend({
|
||||
input: z.array(
|
||||
z.object({
|
||||
id: z.string().uuid(),
|
||||
label: z.string(),
|
||||
name: z.string(),
|
||||
type: z.nativeEnum(FieldMetadataType),
|
||||
placeholder: z.string().optional(),
|
||||
settings: z.record(z.any()),
|
||||
|
||||
Reference in New Issue
Block a user