{
onChange({
[key]: null,
meta: {
useAttachmentBinding: e.detail,
},
})
}}
/>
{#if !inputData?.meta?.useAttachmentBinding}
onChange({
[key]: e.detail.map(({ name, value }) => ({
url: name,
filename: value,
})),
})}
object={handleAttachmentParams(inputData[key])}
allowJS
{bindings}
keyBindings
customButtonText={value.type === "attachment"
? "Add attachment"
: "Add signature"}
keyPlaceholder={"URL"}
valuePlaceholder={"Filename"}
/>
{:else if isTestModal}
onChange({ [key]: e.detail })}
{bindings}
updateOnChange={false}
/>
{:else}
onChange({ [key]: e.detail })}
{bindings}
updateOnChange={false}
placeholder={value.customType === "queryLimit"
? queryLimit
: ""}
drawerLeft="260px"
/>
{/if}
{:else if value.customType === AutomationCustomIOType.FILTERS || value.customType === AutomationCustomIOType.TRIGGER_FILTER}