Merge branch 'main' into feat/plugins

This commit is contained in:
Joel
2024-10-28 15:53:39 +08:00
5 changed files with 167 additions and 163 deletions

View File

@ -72,7 +72,7 @@ const InputVarList: FC<Props> = ({
}
else {
draft[variable] = {
type: varKindType,
type: VarKindType.variable,
value: varValue,
}
}
@ -171,7 +171,7 @@ const InputVarList: FC<Props> = ({
value={varInput?.type === VarKindType.constant ? (varInput?.value || '') : (varInput?.value || [])}
onChange={handleNotMixedTypeChange(variable)}
onOpen={handleOpen(index)}
defaultVarKindType={varInput?.type}
defaultVarKindType={VarKindType.variable}
filterVar={isNumber ? filterVar : undefined}
availableVars={isSelect ? availableVars : undefined}
schema={schema}