From 18777b6fb2f8f34ce526ac4127e9ba27f9c17725 Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 23 Jul 2024 14:55:38 +0100 Subject: [PATCH] Removed explicit bindings prop from draggable list as it was overriding bindings added via the listTypeProps. Updated grid config to use listTypeProps instead --- .../settings/controls/DraggableList/DraggableList.svelte | 2 -- .../GridColumnConfiguration/GridColumnConfiguration.svelte | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/design/settings/controls/DraggableList/DraggableList.svelte b/packages/builder/src/components/design/settings/controls/DraggableList/DraggableList.svelte index 2bfa7d39fd..0ba7de42c2 100644 --- a/packages/builder/src/components/design/settings/controls/DraggableList/DraggableList.svelte +++ b/packages/builder/src/components/design/settings/controls/DraggableList/DraggableList.svelte @@ -12,7 +12,6 @@ export let listItemKey export let draggable = true export let focus - export let bindings = [] let zoneType = generate() @@ -127,7 +126,6 @@ anchor={anchors[draggableItem.id]} item={draggableItem.item} {...listTypeProps} - {bindings} on:change={onItemChanged} /> diff --git a/packages/builder/src/components/design/settings/controls/GridColumnConfiguration/GridColumnConfiguration.svelte b/packages/builder/src/components/design/settings/controls/GridColumnConfiguration/GridColumnConfiguration.svelte index 87a4174e60..17cb171da5 100644 --- a/packages/builder/src/components/design/settings/controls/GridColumnConfiguration/GridColumnConfiguration.svelte +++ b/packages/builder/src/components/design/settings/controls/GridColumnConfiguration/GridColumnConfiguration.svelte @@ -64,7 +64,9 @@ items={columns.sortable} listItemKey={"_id"} listType={FieldSetting} - {bindings} + listTypeProps={{ + bindings, + }} />