Html – disable p-dropdown option when options are display in ng-template for looping them
i am trying to disable option in p-dropdown but i use ng-template for looping the options here is my code any suggestions ? thanks <p-dropdown [options]="task.statusOptions" optionLabel="name" optionValue="id" (onChange)="updateTaskCurrentStatus($event, task)" appendTo="body" [placeholder]="this.dropdownPlaceholder(task)" > <ng-template let-status pTemplate="status"> <div [ngStyle]="{ color: status.uiSetting.color}"…