feat: rename var name sync to used jinjia code (#3964)

This commit is contained in:
Joel
2024-04-29 11:34:30 +08:00
committed by GitHub
parent 99292edd46
commit fa509ce64e
3 changed files with 23 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ const Panel: FC<NodePanelProps<TemplateTransformNodeType>> = ({
readOnly,
inputs,
handleVarListChange,
handleVarNameChange,
handleAddVariable,
handleAddEmptyVariable,
handleCodeChange,
@@ -58,6 +59,7 @@ const Panel: FC<NodePanelProps<TemplateTransformNodeType>> = ({
readonly={readOnly}
list={inputs.variables}
onChange={handleVarListChange}
onVarNameChange={handleVarNameChange}
filterVar={filterVar}
/>
</Field>