diff --git a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html
index 2cc5e3109..e232d5d6f 100644
--- a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html
@@ -189,7 +189,11 @@
-
+
diff --git a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts
index d8a758544..6b5920bb4 100644
--- a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts
+++ b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts
@@ -654,4 +654,12 @@ export class WorkflowEditDialogComponent
public getCustomField(id: number): CustomField {
return this.customFields.find((field) => field.id === id)
}
+
+ public removeSelectedCustomField(fieldId: number, group: FormGroup) {
+ group
+ .get('assign_custom_fields')
+ .setValue(
+ group.get('assign_custom_fields').value.filter((id) => id !== fieldId)
+ )
+ }
}
diff --git a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html
index 4fcc21aa5..f0886b1c2 100644
--- a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html
+++ b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.html
@@ -69,7 +69,7 @@
[horizontal]="true">
}
}
-
diff --git a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.ts b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.ts
index 28aaf40fe..477a3398a 100644
--- a/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.ts
+++ b/src-ui/src/app/components/common/input/custom-fields-values/custom-fields-values.component.ts
@@ -1,4 +1,10 @@
-import { Component, forwardRef, Input } from '@angular/core'
+import {
+ Component,
+ EventEmitter,
+ forwardRef,
+ Input,
+ Output,
+} from '@angular/core'
import {
FormsModule,
NG_VALUE_ACCESSOR,
@@ -75,11 +81,10 @@ export class CustomFieldsValuesComponent extends AbstractInputComponent