Browse Source

fix: Cannot modify values when startNode has defaultValue (#25595)

tags/1.9.0
17hz 1 month ago
parent
commit
635e7d3e70
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      web/app/components/workflow/panel/inputs-panel.tsx

+ 2
- 0
web/app/components/workflow/panel/inputs-panel.tsx View File

@@ -52,6 +52,8 @@ const InputsPanel = ({ onRun }: Props) => {
startVariables.forEach((variable) => {
if (variable.default)
initialInputs[variable.variable] = variable.default
if (inputs[variable.variable] !== undefined)
initialInputs[variable.variable] = inputs[variable.variable]
})
}


Loading…
Cancel
Save