diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte index e459545712..71f0246b5c 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBindingPanel.svelte @@ -12,10 +12,8 @@ const dispatch = createEventDispatcher() - export let bindableProperties export let value = "" export let bindingDrawer - export let valid = true export let bindings = [] let originalValue = value @@ -26,16 +24,11 @@ $: categories = Object.entries(groupBy("category", bindings)) $: value && checkValid() - $: bindableProperties = getBindableProperties( - $currentAsset, - $store.selectedComponentId - ) $: dispatch("update", value) $: searchRgx = new RegExp(search, "ig") function checkValid() { - const runtimeValue = readableToRuntimeBinding(bindings, value) - validity = isValid(runtimeValue) + validity = isValid(value) } function addToText(binding) { diff --git a/packages/builder/src/components/common/DrawerBindableInput.svelte b/packages/builder/src/components/common/DrawerBindableInput.svelte index 76c177e25f..3b286997c3 100644 --- a/packages/builder/src/components/common/DrawerBindableInput.svelte +++ b/packages/builder/src/components/common/DrawerBindableInput.svelte @@ -55,7 +55,6 @@ value={readableValue} close={handleClose} on:update={event => (tempValue = event.detail)} - bindableProperties={bindings} {bindings} />