Skip to content

Commit

Permalink
fix: p-treeTableCheckbox disabled not working (#17495)
Browse files Browse the repository at this point in the history
  • Loading branch information
stajne authored Jan 29, 2025
1 parent 152f6f0 commit 3461d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primeng/src/treetable/treetable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3216,7 +3216,7 @@ export class TTContextMenuRow {
selector: 'p-treeTableCheckbox',
standalone: false,
template: `
<p-checkbox [ngModel]="checked" (onChange)="onClick($event)" [binary]="true" [indeterminate]="partialChecked" styleClass="p-treetable-node-checkbox" [tabIndex]="-1">
<p-checkbox [ngModel]="checked" (onChange)="onClick($event)" [binary]="true" [disabled]="disabled" [indeterminate]="partialChecked" styleClass="p-treetable-node-checkbox" [tabIndex]="-1">
<ng-container *ngIf="tt.checkboxIconTemplate || tt._checkboxIconTemplate">
<ng-template pTemplate="icon">
<ng-template *ngTemplateOutlet="tt.checkboxIconTemplate || tt._checkboxIconTemplate; context: { $implicit: checked, partialSelected: partialChecked }"></ng-template>
Expand Down

0 comments on commit 3461d28

Please sign in to comment.