mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
fixes select all in single selection mode on Ctrl-A press
This commit is contained in:
parent
88d0c52e5f
commit
15738ffce9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue