<p-dropdown formControlName="signatures" [disabled]="true" placeholder="Please Select Signature" [options]="signatureOptions" (onChange)="selectSignature($event,rowIndex)"></p-dropdown>
I was using the Angular 11 version, and the ‘disabled’ property was working fine with p-dropdown when using formControl. However, after upgrading to Angular 17, the disabled property stopped working due to formControl. When I remove formControlName, the disabled property starts working fine.
New contributor
Syed Ali Akbar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.