NavigateTo action: use DataList, so URLs are configurable

This commit is contained in:
Michael Shanks 2020-09-14 12:32:44 +01:00
parent 7fe7c9b286
commit ade5527bd7
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<script>
import { Select, Label } from "@budibase/bbui"
import { DataList, Label } from "@budibase/bbui"
import { store } from "builderStore"
export let parameters
@ -7,12 +7,12 @@
<div class="root">
<Label size="m" color="dark">Screen</Label>
<Select secondary bind:value={parameters.url}>
<DataList secondary bind:value={parameters.url}>
<option value="" />
{#each $store.screens as screen}
<option value={screen.route}>{screen.props._instanceName}</option>
{/each}
</Select>
</DataList>
</div>
<style>