This commit is contained in:
mike12345567 2021-04-29 19:10:02 +01:00
parent a14c80bf6c
commit b7a767a571
3 changed files with 17 additions and 19 deletions

View File

@ -1,7 +1,7 @@
import { cloneDeep } from "lodash/fp"
import { get } from "svelte/store"
import { findComponent, findComponentPath } from "./storeUtils"
import {currentAssetId, store} from "builderStore"
import { store } from "builderStore"
import { tables as tablesStore, queries as queriesStores } from "stores/backend"
import { makePropSafe } from "@budibase/string-templates"
import { TableNames } from "../constants"

View File

@ -70,7 +70,8 @@
field.subtype !== AUTO_COLUMN_SUB_TYPES.CREATED_BY &&
field.subtype !== AUTO_COLUMN_SUB_TYPES.UPDATED_BY &&
field.type !== FORMULA_TYPE
$: canBeDisplay = field.type !== LINK_TYPE &&
$: canBeDisplay =
field.type !== LINK_TYPE &&
field.type !== AUTO_TYPE &&
field.type !== FORMULA_TYPE
$: canBeRequired =
@ -298,7 +299,7 @@
value={field.formula}
on:change={e => (field.formula = e.detail)}
bindings={getBindings({ table })}
serverSide=true />
serverSide="true" />
{:else if field.type === AUTO_TYPE}
<Select label="Auto Column Type" thin secondary bind:value={field.subtype}>
<option value="">Choose a subtype</option>

View File

@ -45,10 +45,7 @@
</div>
</div>
<Modal bind:this={bindingModal} width="50%">
<ModalContent
{title}
onConfirm={saveBinding}
bind:disabled={invalid}>
<ModalContent {title} onConfirm={saveBinding} bind:disabled={invalid}>
<Body extraSmall grey>
Add the objects on the left to enrich your text.
</Body>
@ -56,7 +53,7 @@
this={panel}
serverSide
value={readableValue}
bind:validity={validity}
bind:validity
on:update={event => (tempValue = event.detail)}
bindableProperties={bindings} />
</ModalContent>