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:
+4
-1
@@ -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}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user