1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Download config

This commit is contained in:
Adria Navarro 2024-03-22 10:38:09 +01:00
parent 3ffba9faf8
commit 496679f3eb

View file

@ -1,17 +1,23 @@
<script>
import { Label } from "@budibase/bbui"
import { FieldType } from "@budibase/types"
import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte"
export let parameters
export let bindings = []
$: fileBindings = bindings?.filter(
b => b.fieldSchema?.type === FieldType.ATTACHMENT
)
</script>
<div class="root">
<Label small>File</Label>
<DrawerBindableInput
title="State value"
{bindings}
bindings={fileBindings}
value={parameters.value}
allowHelpers={false}
on:change={e => (parameters.value = e.detail)}
/>
</div>