Put delete button on step footer + add unique fields on upsert action (#15497)

<img width="491" height="823" alt="Capture d’écran 2025-10-31 à 14 54
38"
src="https://github.com/user-attachments/assets/8058a6a3-8a6c-4cdd-93d9-2af71208dc5a"
/>
This commit is contained in:
Thomas Trompette
2025-10-31 17:39:45 +01:00
committed by GitHub
parent d640b93096
commit 5f13e6fcf4
4 changed files with 65 additions and 10 deletions
@@ -15,6 +15,7 @@ export const WorkflowFieldsMultiSelect = ({
readonly,
defaultFields,
placeholder,
hint,
}: {
label: string;
placeholder: string;
@@ -22,6 +23,7 @@ export const WorkflowFieldsMultiSelect = ({
handleFieldsChange: (field: FieldMultiSelectValue | string) => void;
readonly: boolean;
defaultFields: string[] | undefined | null;
hint?: string;
}) => {
const { getIcon } = useIcons();
@@ -64,13 +66,14 @@ export const WorkflowFieldsMultiSelect = ({
return {
label: field.label,
value,
icon: getIcon(field.iconName),
Icon: getIcon(field.iconName),
color: 'gray',
};
})}
onChange={handleFieldsChange}
placeholder={placeholder}
readonly={readonly}
hint={hint}
/>
);
};