import error with events panel

This commit is contained in:
Martin McKeaveney 2020-09-14 17:00:16 +01:00
parent d55d0c70c8
commit 78e6a66543
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<script>
import { Input, DataList } from "@budibase/bbui"
import { Input, DataList, Select } from "@budibase/bbui"
import { find, map, keys, reduce, keyBy } from "lodash/fp"
import { pipe } from "components/common/core"
import { EVENT_TYPE_MEMBER_NAME } from "components/common/eventHandlers"
@ -29,7 +29,7 @@
{/each}
</Select>
{:else if parameter.name === 'url'}
<DataList editable on:change bind:value={parameter.value}>
<DataList on:change bind:value={parameter.value}>
<option value="" />
{#each $store.allScreens as screen}
<option value={screen.route}>{screen.props._instanceName}</option>

View File

@ -1,6 +1,6 @@
<script>
// accepts an array of field names, and outputs an object of { FieldName: value }
import { DataList, Label, TextButton, Spacer } from "@budibase/bbui"
import { DataList, Label, TextButton, Spacer, Select } from "@budibase/bbui"
import { store, backendUiStore } from "builderStore"
import fetchBindableProperties from "builderStore/fetchBindableProperties"
import { CloseCircleIcon, AddIcon } from "components/common/Icons"
@ -81,8 +81,7 @@
{/each}
</Select>
<Label size="m" color="dark">Value</Label>
<Select
editable
<DataList
secondary
bind:value={field.value}
on:blur={rebuildParameters}>
@ -92,7 +91,7 @@
{bindableProp.readableBinding}
</option>
{/each}
</Select>
</DataList>
<div class="remove-field-container">
<TextButton text small on:click={removeField(field)}>
<CloseCircleIcon />