Closed
Description
Describe the bug
BTable component on bootstrap-vue-next v0.24.23 does not emit the row-selected event if it is set as:
- selectable: true
- select-mode: 'single'
Changing select-mode to 'multi' allows the component to fire the row-selected event as per documentation.
It also should work when set as 'single' when table is set as "selectable"
example:
<BTable
ref="tableRef"
:selectable="true"
:select-mode="single"
:selectionVariant="primary"
hover
bordered
striped
small
:responsive="true"
:items="props.items"
:fields="props.fields"
fixed
@row-selected="onRowSelected"
@row-unselected="onRowUnselected"
/>
Reproduction
set BTable as :selectable="true" :select-mode="single"
Used Package Manager
npm
Validations
- Have tested with the latest version. This is still alpha version and sometime things change rapidly.
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.