1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

Use select for selecting form to validate in button actions to fix issue showing component ID

This commit is contained in:
Andrew Kingston 2021-02-02 15:38:43 +00:00
parent 772fdfa837
commit aba4b4ea60

View file

@ -1,5 +1,5 @@
<script>
import { DataList, Label } from "@budibase/bbui"
import { Select, Label } from "@budibase/bbui"
import { currentAsset, store } from "builderStore"
import { getActionProviderComponents } from "builderStore/dataBinding"
@ -15,14 +15,14 @@
<div class="root">
<Label size="m" color="dark">Form</Label>
<DataList secondary bind:value={parameters.componentId}>
<Select secondary bind:value={parameters.componentId}>
<option value="" />
{#if actionProviders}
{#each actionProviders as component}
<option value={component._id}>{component._instanceName}</option>
{/each}
{/if}
</DataList>
</Select>
</div>
<style>