diff --git a/src/components/parameter-schema/ParameterSchemaFormComponent.vue b/src/components/parameter-schema/ParameterSchemaFormComponent.vue index 3a77eafb79c39ada5d2a545da4137f5f0433cd97..0f10690d7d4965e69abfaa2ae75cf867e7de0c51 100644 --- a/src/components/parameter-schema/ParameterSchemaFormComponent.vue +++ b/src/components/parameter-schema/ParameterSchemaFormComponent.vue @@ -191,6 +191,13 @@ function startWorkflow() { errorToast?.hide(); formState.validated = true; formState.errorType = undefined; + // 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) { + delete formState.formInput[paramName]; + } + } if (launchForm.value?.checkValidity()) { const schemaValid = validateSchema(formState.formInput);