fix default value for multiple tool selector

This commit is contained in:
JzoNg
2024-12-30 10:36:08 +08:00
parent 84febd5e94
commit 0c5101fb3c
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ function Form<
label={label[language] || label.en_US}
required={required}
tooltip={tooltip?.[language] || tooltip?.en_US}
value={value[variable]}
value={value[variable] || []}
onChange={item => handleFormChange(variable, item as any)}
/>
{fieldMoreInfo?.(formSchema)}