Fix bindings not working with grid conditions
This commit is contained in:
parent
1ccdb4de56
commit
8e83046321
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -7308,7 +7308,6 @@
|
|||
{
|
||||
"type": "columns/grid",
|
||||
"key": "columns",
|
||||
"nested": true,
|
||||
"resetOn": "table"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue