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 9a6108326b
commit 1a886ada08
1 changed files with 3 additions and 3 deletions

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>