Browse Source
Merge pull request #612 from Budibase/bugfixes
import error with events panel
gh-pages
Martin McKeaveney
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
11 deletions
-
.github/workflows/release.yml
-
packages/builder/src/components/userInterface/EventsEditor/StateBindingCascader.svelte
-
packages/builder/src/components/userInterface/EventsEditor/actions/SaveFields.svelte
|
|
|
@ -4,8 +4,6 @@ on: |
|
|
|
# Trigger the workflow on push with tags, |
|
|
|
# but only for the master branch |
|
|
|
push: |
|
|
|
branches: |
|
|
|
- master |
|
|
|
tags: |
|
|
|
- 'v*' |
|
|
|
|
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -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,18 +81,14 @@ |
|
|
|
{/each} |
|
|
|
</Select> |
|
|
|
<Label size="m" color="dark">Value</Label> |
|
|
|
<Select |
|
|
|
editable |
|
|
|
secondary |
|
|
|
bind:value={field.value} |
|
|
|
on:blur={rebuildParameters}> |
|
|
|
<DataList secondary bind:value={field.value} on:blur={rebuildParameters}> |
|
|
|
<option value="" /> |
|
|
|
{#each bindableProperties as bindableProp} |
|
|
|
<option value={toBindingExpression(bindableProp.readableBinding)}> |
|
|
|
{bindableProp.readableBinding} |
|
|
|
</option> |
|
|
|
{/each} |
|
|
|
</Select> |
|
|
|
</DataList> |
|
|
|
<div class="remove-field-container"> |
|
|
|
<TextButton text small on:click={removeField(field)}> |
|
|
|
<CloseCircleIcon /> |
|
|
|
|