fix: refine handling of constant and mixed input types in ToolManager and ToolNodeData (#22903)
This commit is contained in:
parent
6ac06486e3
commit
9237976988
3 changed files with 7 additions and 5 deletions
|
|
@ -164,7 +164,7 @@ const FormInputItem: FC<Props> = ({
|
|||
...value,
|
||||
[variable]: {
|
||||
...varInput,
|
||||
...newValue,
|
||||
value: newValue,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
@ -242,7 +242,7 @@ const FormInputItem: FC<Props> = ({
|
|||
<AppSelector
|
||||
disabled={readOnly}
|
||||
scope={scope || 'all'}
|
||||
value={varInput as any}
|
||||
value={varInput?.value}
|
||||
onSelect={handleAppOrModelSelect}
|
||||
/>
|
||||
)}
|
||||
|
|
@ -251,7 +251,7 @@ const FormInputItem: FC<Props> = ({
|
|||
popupClassName='!w-[387px]'
|
||||
isAdvancedMode
|
||||
isInWorkflow
|
||||
value={varInput}
|
||||
value={varInput?.value}
|
||||
setModel={handleAppOrModelSelect}
|
||||
readonly={readOnly}
|
||||
scope={scope}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue