1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Fix Grid Block Toggle Causing the label editing menu to open

This commit is contained in:
Gerard Burns 2023-12-07 11:50:32 +00:00
parent cab2a0cddb
commit 88e5f58ce3

View file

@ -49,7 +49,15 @@
<div class="field-label">{item.label || item.field}</div>
</div>
<div class="list-item-right">
<Toggle on:change={onToggle(item)} text="" value={item.active} thin />
<Toggle
on:click={e => {
e.stopPropagation()
}}
on:change={onToggle(item)}
text=""
value={item.active}
thin
/>
</div>
</div>