diff --git a/packages/builder/src/builderStore/dataBinding.js b/packages/builder/src/builderStore/dataBinding.js index 48c09d0b1a..c8194b3d2f 100644 --- a/packages/builder/src/builderStore/dataBinding.js +++ b/packages/builder/src/builderStore/dataBinding.js @@ -106,7 +106,9 @@ export const getContextBindings = (rootComponent, componentId) => { contextBindings.push({ type: "context", - runtimeBinding: `${makePropSafe(component._id)}.${makePropSafe(runtimeBoundKey)}`, + runtimeBinding: `${makePropSafe(component._id)}.${makePropSafe( + runtimeBoundKey + )}`, readableBinding: `${component._instanceName}.${table.name}.${key}`, fieldSchema, providerId: component._id, diff --git a/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte b/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte index a48748f7d5..0609f3a4d5 100644 --- a/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte +++ b/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte @@ -78,15 +78,19 @@ bind:value placeholder="Add options from the left, type text, or do both" /> {#if !validity} -

Current Handlebars syntax is invalid, please check the guide - here for more details. +

+ Current Handlebars syntax is invalid, please check the guide + here + for more details.

{/if}
Learn more about binding - +
diff --git a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte index f064449657..bbc86d2f78 100644 --- a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte @@ -3,7 +3,10 @@ import { Button, TextArea, Drawer, Heading, Spacer } from "@budibase/bbui" import { createEventDispatcher } from "svelte" import { isValid } from "@budibase/string-templates" - import {getBindableProperties, readableToRuntimeBinding} from "builderStore/dataBinding" + import { + getBindableProperties, + readableToRuntimeBinding, + } from "builderStore/dataBinding" import { currentAsset, store } from "../../../builderStore" const dispatch = createEventDispatcher() @@ -73,8 +76,10 @@ placeholder="Add text, or click the objects on the left to add them to the textbox." /> {#if !validity} -

Current Handlebars syntax is invalid, please check the guide - here for more details. +

+ Current Handlebars syntax is invalid, please check the guide + here + for more details.

{/if} diff --git a/packages/string-templates/src/processors/index.js b/packages/string-templates/src/processors/index.js index a867b003db..db02aee8e7 100644 --- a/packages/string-templates/src/processors/index.js +++ b/packages/string-templates/src/processors/index.js @@ -22,7 +22,9 @@ module.exports.preprocess = (string, finalise = true) => { // the pre-processor finalisation stops handlebars from ever throwing an error // might want to pre-process for other benefits but still want to see errors if (!finalise) { - processors = processors.filter(processor => processor.name !== preprocessor.PreprocessorNames.FINALISE) + processors = processors.filter( + processor => processor.name !== preprocessor.PreprocessorNames.FINALISE + ) } return process(string, processors) }