mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +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
|
@ -108,7 +108,7 @@ const classes = {
|
|||
instance.node.styleClass,
|
||||
{
|
||||
'p-treenode-selectable': instance.selectable,
|
||||
'p-highlight': instance.checkboxMode ? instance.checked : instance.selected
|
||||
'p-highlight': instance.checkboxMode && instance.$parentInstance.highlightOnSelect ? instance.checked : instance.selected
|
||||
}
|
||||
],
|
||||
toggler: 'p-tree-toggler p-link',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue