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

Merge pull request #12522 from Budibase/grid-block-toggle-causes-pop-ups

Fix Grid Block Toggle Causing the label editing menu to open
This commit is contained in:
Andrew Kingston 2023-12-07 16:01:29 +00:00 committed by GitHub
commit a5bc898ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>