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);