{#each schemaProperties as [key, value]}
{value.title || (key === "row" ? "Table" : key)}
{#if value.type === "string" && value.enum}
onChange(e, key)} value={inputData[key]} options={value.enum} getOptionLabel={(x, idx) => (value.pretty ? value.pretty[idx] : x)} /> {:else if value.customType === "column"}
onChange(e, key)} value={inputData[key]} options={Object.keys(table.schema)} /> {:else if value.customType === "filters"}
Define filters
saveFilters(key)} >Save
{:else if value.customType === "password"}
onChange(e, key)} value={inputData[key]} /> {:else if value.customType === "email"} {#if isTestModal}
onChange(e, key)} {bindings} fillWidth /> {:else}
onChange(e, key)} {bindings} allowJS={false} /> {/if} {:else if value.customType === "query"}
onChange(e, key)} value={inputData[key]} /> {:else if value.customType === "cron"}
onChange(e, key)} value={inputData[key]} /> {:else if value.customType === "queryParams"}
onChange(e, key)} value={inputData[key]} {bindings} /> {:else if value.customType === "table"}
onChange(e, key)} /> {:else if value.customType === "row"}
onChange(e, key)} {bindings} /> {:else if value.customType === "webhookUrl"}
onChange(e, key)} value={inputData[key]} /> {:else if value.customType === "triggerSchema"}
onChange(e, key)} value={inputData[key]} /> {:else if value.customType === "code"}
{JSON.stringify(bindings, null, 2)}
{ // need to pass without the value inside onChange({ detail: e.detail.value }, key) inputData[key] = e.detail.value }} value={inputData[key]} />
{:else if value.type === "string" || value.type === "number"} {#if isTestModal}
onChange(e, key)} {bindings} /> {:else}
onChange(e, key)} {bindings} allowJS={false} />
{/if} {/if}
{/each}
{#if stepId === "WEBHOOK"}
webhookModal.show()}>Set Up Webhook
{/if}