Feedback
This commit is contained in:
parent
12e87f0e52
commit
a26fbf3edd
|
@ -56,10 +56,7 @@
|
|||
memo,
|
||||
fetchData,
|
||||
} from "@budibase/frontend-core"
|
||||
import {
|
||||
getSchemaForDatasourcePlus,
|
||||
readableToRuntimeBinding,
|
||||
} from "@/dataBinding"
|
||||
import { getSchemaForDatasourcePlus } from "@/dataBinding"
|
||||
import { TriggerStepID, ActionStepID } from "@/constants/backend/automations"
|
||||
import { onMount, createEventDispatcher } from "svelte"
|
||||
import { writable } from "svelte/store"
|
||||
|
@ -1037,10 +1034,7 @@
|
|||
{bindings}
|
||||
{schema}
|
||||
panel={AutomationBindingPanel}
|
||||
on:change={e =>
|
||||
onChange({
|
||||
[key]: readableToRuntimeBinding(bindings, e.detail),
|
||||
})}
|
||||
on:change={e => onChange({ [key]: e.detail })}
|
||||
context={$memoContext}
|
||||
value={inputData[key]}
|
||||
/>
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
encodeJSBinding,
|
||||
processObjectSync,
|
||||
} from "@budibase/string-templates"
|
||||
import { runtimeToReadableBinding } from "@/dataBinding"
|
||||
import {
|
||||
runtimeToReadableBinding,
|
||||
readableToRuntimeBinding,
|
||||
} from "@/dataBinding"
|
||||
import CodeEditor, { DropdownPosition } from "../CodeEditor/CodeEditor.svelte"
|
||||
import {
|
||||
getHelperCompletions,
|
||||
|
@ -123,7 +126,7 @@
|
|||
}
|
||||
|
||||
const updateValue = (val: any) => {
|
||||
dispatch("change", val)
|
||||
dispatch("change", readableToRuntimeBinding(bindings, val))
|
||||
}
|
||||
|
||||
const onChangeJSValue = (e: { detail: string }) => {
|
||||
|
|
Loading…
Reference in New Issue