From d5c5d50578625ef6bd82ca77f220f0711cd7d8f3 Mon Sep 17 00:00:00 2001 From: Celal Zamanoglu <95054566+celalzamanoglu@users.noreply.github.com> Date: Fri, 2 Jan 2026 23:42:17 +0300 Subject: [PATCH] initializes string parameters without defaults as empty strings instead of null (#4382) --- skyvern-frontend/src/routes/workflows/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skyvern-frontend/src/routes/workflows/utils.ts b/skyvern-frontend/src/routes/workflows/utils.ts index eb7e807f..ff68d9ca 100644 --- a/skyvern-frontend/src/routes/workflows/utils.ts +++ b/skyvern-frontend/src/routes/workflows/utils.ts @@ -33,7 +33,8 @@ export const getInitialValues = ( acc[curr.key] = curr.default_value; return acc; } - acc[curr.key] = null; + // For string parameters, keep empty string instead of null to match run form behavior + acc[curr.key] = curr.workflow_parameter_type === "string" ? "" : null; return acc; }, {} as Record,