Skip to content

Commit

Permalink
fix(table): stop propagation on checkbox click
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaubree committed Aug 9, 2023
1 parent f464dfc commit 732c68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/UTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function onSort(column: { key: string; direction?: 'asc' | 'desc' }) {
@click="emit('row-clicked', row)"
>
<td class="w-0 pl-4">
<UCheckbox v-if="selected" v-model="selected" :value="row" />
<UCheckbox v-if="selected" v-model="selected" :value="row" @click.stop />
<div v-else class="h-3.75 w-3.75" />
</td>
<td v-for="(column, subIndex) in columns" :key="subIndex" :class="[config.td.base, config.td.padding, config.td.color, config.td.font, config.td.size, column.class]">
Expand Down

0 comments on commit 732c68c

Please # to comment.