diff --git a/src/components/treeselect/TreeSelect.vue b/src/components/treeselect/TreeSelect.vue index da3829fcc..edfa3aa5c 100644 --- a/src/components/treeselect/TreeSelect.vue +++ b/src/components/treeselect/TreeSelect.vue @@ -369,8 +369,8 @@ export default { } ]; }, - panelStyleClass() { - return ['p-treeselect-panel p-component', panelClass]; + panelStyleClass() { + return ['p-treeselect-panel p-component', this.panelClass]; }, selectedNodes() { let selectedNodes = [];