1
0
Fork 0
mirror of synced 2024-09-20 03:08:18 +12:00

Removed explicit bindings prop from draggable list as it was overriding bindings added via the listTypeProps. Updated grid config to use listTypeProps instead

This commit is contained in:
Dean 2024-07-23 14:55:38 +01:00
parent 799643b227
commit 18777b6fb2
2 changed files with 3 additions and 3 deletions

View file

@ -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}
/>
</div>

View file

@ -64,7 +64,9 @@
items={columns.sortable}
listItemKey={"_id"}
listType={FieldSetting}
{bindings}
listTypeProps={{
bindings,
}}
/>
<style>