Let's say I have a dropdown menu, with the following options: "WORK", "RELEASE", "OPEN". The second option "RELEASE" should be readonly in contrast to "WORK" and "OPEN". How can I do this?
The template looks like this:
<form [formGroup]="form">
<div class="flex">
<div class="col-3">
<div class="flex flex-row align-items-center">
<label class="col-6">Status</label>
<p-dropdown
[options]="workStatus"
[showClear]="true"
formControlName="workingStatus"
class="col-6">
</p-dropdown>
</div>