Fix bindings not working with grid conditions

This commit is contained in:
Andrew Kingston 2024-06-27 15:38:22 +01:00
parent 1ccdb4de56
commit 8e83046321
No known key found for this signature in database
5 changed files with 8 additions and 2 deletions

View File

@ -12,6 +12,7 @@
export let listItemKey
export let draggable = true
export let focus
export let bindings = []
let zoneType = generate()
@ -126,6 +127,7 @@
anchor={anchors[draggableItem.id]}
item={draggableItem.item}
{...listTypeProps}
{bindings}
on:change={onItemChanged}
/>
</div>

View File

@ -7,6 +7,7 @@
export let item
export let anchor
export let bindings
const dispatch = createEventDispatcher()
@ -39,8 +40,9 @@
<div class="list-item-body">
<div class="list-item-left">
<EditComponentPopover
{anchor}
componentInstance={item}
{bindings}
{anchor}
{parseSettings}
on:change
>

View File

@ -9,6 +9,7 @@
export let value
export let componentInstance
export let bindings
const dispatch = createEventDispatcher()
let primaryDisplayColumnAnchor
@ -63,6 +64,7 @@
items={columns.sortable}
listItemKey={"_id"}
listType={FieldSetting}
{bindings}
/>
<style>

View File

@ -7308,7 +7308,6 @@
{
"type": "columns/grid",
"key": "columns",
"nested": true,
"resetOn": "table"
}
]

View File

@ -91,6 +91,7 @@ export const initialise = context => {
// Recompute all metadata if conditions change
conditions.subscribe($conditions => {
console.log($conditions)
console.log("recomputing all conditions")
let metadata = {}
if ($conditions.length) {