diff --git a/src/components/parameter-schema/ParameterSchemaFormComponent.vue b/src/components/parameter-schema/ParameterSchemaFormComponent.vue
index 0f10690d7d4965e69abfaa2ae75cf867e7de0c51..cc847a63f202ecab031ad5809adcda9f56530240 100644
--- a/src/components/parameter-schema/ParameterSchemaFormComponent.vue
+++ b/src/components/parameter-schema/ParameterSchemaFormComponent.vue
@@ -194,7 +194,7 @@ function startWorkflow() {
   // delete parameters that are strings and have a length of 0
   for (const paramName of Object.keys(formState.formInput)) {
     const param = formState.formInput[paramName];
-    if (typeof param === "string" && param?.trim().length === 0) {
+    if (typeof param === "string" && param?.length === 0) {
       delete formState.formInput[paramName];
     }
   }