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
1 changed files with 9 additions and 1 deletions

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>