Merge pull request #28 from navedqb/fix-keyA-select-all-in-single-mode
fix: fix select all in single selection mode on Ctrl-A presspull/5272/head
commit
e58a0e0c6b
|
@ -864,7 +864,7 @@ export default {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (event.code === 'KeyA' && metaKey) {
|
if (event.code === 'KeyA' && metaKey && this.isMultipleSelectionMode()) {
|
||||||
const data = this.dataToRender(slotProps.rows);
|
const data = this.dataToRender(slotProps.rows);
|
||||||
|
|
||||||
this.$emit('update:selection', data);
|
this.$emit('update:selection', data);
|
||||||
|
|
Loading…
Reference in New Issue