{#if keys.length > 0} {#each keys as argName, i (argName)} {#if Object.keys(schema?.properties ?? {}).includes(argName)}
{#if typeof args == 'object' && schema?.properties[argName]} {#if editableSchema} {:else} {/if} {/if}
{/if} {/each} {:else if !shouldHideNoInputs}
No inputs
{/if}
{#if !noVariablePicker} { if (pickForField) { 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: $workspaceStore ?? '' })).map((x) => ({ name: x.path, ...x }))} >
{/if}