From 8d9c5848cee04c5e63fd04f1322d5cac4fba312b Mon Sep 17 00:00:00 2001 From: KumJungMin Date: Mon, 25 Nov 2024 21:15:10 +0900 Subject: [PATCH] fix: prevent selection when selectable is set to false (checkbox mode) --- packages/primevue/src/treetable/BodyCell.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/primevue/src/treetable/BodyCell.vue b/packages/primevue/src/treetable/BodyCell.vue index 63858691e..b2557fb8d 100644 --- a/packages/primevue/src/treetable/BodyCell.vue +++ b/packages/primevue/src/treetable/BodyCell.vue @@ -21,6 +21,7 @@ :modelValue="checked" :binary="true" :class="cx('pcNodeCheckbox')" + :readonly="node.selectable === false" @change="toggleCheckbox" :tabindex="-1" :indeterminate="partialChecked"