{#if !noVariablePicker}
{
if (pickForField) {
if (args) {
args[pickForField] = '$var:' + path
}
}
}}
itemName="Variable"
tooltip="Variables are dynamic values that have a key associated to them and can be retrieved during the execution of a Script or Flow."
documentationLink="https://www.windmill.dev/docs/core_concepts/variables_and_secrets"
extraField="path"
loadItems={async () =>
(await VariableService.listVariable({ workspace: ws ?? '' })).map((x) => ({
name: x.path,
...x
}))}
>
{#snippet submission()}