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
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 class="field-label">{item.label || item.field}</div>
</div> </div>
<div class="list-item-right"> <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>
</div> </div>