mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5105 - Highlight state changes on Checkbox selection mode
This commit is contained in:
parent
7b7eb3df1d
commit
19f9813d16
6 changed files with 16 additions and 4 deletions
|
@ -250,6 +250,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
highlightOnSelect: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
default: null
|
||||
|
|
|
@ -360,7 +360,7 @@ const classes = {
|
|||
|
||||
if (props.selection) {
|
||||
rowStyleClass.push({
|
||||
'p-highlight': instance.isSelected
|
||||
'p-highlight': instance.isSelected && instance.$parentInstance.$parentInstance.highlightOnSelect
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue