Skip to content

Commit df69dcc

Browse files
committed
Table data attribute.
1 parent 165d86a commit df69dcc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue-wrapper",
3-
"version": "2.1.18",
3+
"version": "2.1.19",
44
"description": "Bootstrap 5 components in Vue3 wrapper.",
55
"module": "./dist/bootstrap-vue-wrapper.js",
66
"types": "./dist/index.d.ts",

src/components/bs-table/BsTable.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
v-else
4242
:key="key"
4343
:class="[item.trClass || '', { 'cursor-pointer': rowClickable }]"
44+
:data-id="item.id"
4445
@click="$emit('rowClicked', item)"
4546
>
4647
<template v-for="field in fields" :key="field.key">

0 commit comments

Comments
 (0)