Download config
This commit is contained in:
parent
3ffba9faf8
commit
496679f3eb
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue