Skip to content

Commit

Permalink
Merge pull request #28 from navedqb/fix-keyA-select-all-in-single-mode
Browse files Browse the repository at this point in the history
fix: fix select all in single selection mode on Ctrl-A press
  • Loading branch information
navedqb authored Feb 14, 2024
2 parents 88d0c52 + 15738ff commit e58a0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ export default {
break;
default:
if (event.code === 'KeyA' && metaKey) {
if (event.code === 'KeyA' && metaKey && this.isMultipleSelectionMode()) {
const data = this.dataToRender(slotProps.rows);
this.$emit('update:selection', data);
Expand Down

0 comments on commit e58a0e0

Please sign in to comment.