From 15738ffce95e502c8ff10aeb8e6de139852b45fc Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:13:59 +0530 Subject: [PATCH] fixes select all in single selection mode on Ctrl-A press --- components/lib/datatable/DataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index 33f2d6a55..72e265d3d 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -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);