diff --git a/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte b/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte index 08ad64e74f..6ef86969ac 100644 --- a/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte +++ b/packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte @@ -3,6 +3,7 @@ import { TextArea, Label, + Input, Heading, Body, Spacer, @@ -24,6 +25,7 @@ let helpers = handlebarsCompletions() let getCaretPosition let validity = true + let search = "" $: categories = Object.entries(groupBy("category", bindings)) $: value && checkValid() @@ -50,12 +52,17 @@
Available bindings + + +
{#each categories as [categoryName, bindings]} {categoryName} - {#each bindings as binding} + {#each bindings.filter(binding => + binding.label.startsWith(search) + ) as binding}
onClickBinding(binding)}> {binding.label} {binding.type} @@ -68,11 +75,15 @@ {/each} Helpers - {#each helpers as helper} + {#each helpers.filter(binding => + binding.label.startsWith(search) + ) as helper}
onClickBinding(helper)}> - {helper.displayText} + {helper.label}
-
{helper.description || ''}
+
+ {@html helper.description || ''} +
{/each}
diff --git a/packages/builder/src/components/backend/DataTable/popovers/ExportPopover.svelte b/packages/builder/src/components/backend/DataTable/popovers/ExportPopover.svelte index 0d52689a6e..3e7642982a 100644 --- a/packages/builder/src/components/backend/DataTable/popovers/ExportPopover.svelte +++ b/packages/builder/src/components/backend/DataTable/popovers/ExportPopover.svelte @@ -1,6 +1,7 @@