Skip to content

Commit

Permalink
Update input-var-list.tsx (langgenius#9987)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuhu-dsm authored Dec 21, 2024
1 parent 6ded06c commit 7a00798
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const InputVarList: FC<Props> = ({
readonly={readOnly}
isShowNodeName
nodeId={nodeId}
value={varInput?.type === VarKindType.constant ? (varInput?.value || '') : (varInput?.value || [])}
value={varInput?.type === VarKindType.constant ? (varInput?.value ?? '') : (varInput?.value ?? [])}
onChange={handleNotMixedTypeChange(variable)}
onOpen={handleOpen(index)}
defaultVarKindType={varInput?.type || (isNumber ? VarKindType.constant : VarKindType.variable)}
Expand Down

0 comments on commit 7a00798

Please sign in to comment.