PrimeNG p-dropdown [disabled] does not appear to work in PrimeNG 17.18.x

Discussão em 'Angular' iniciado por Damien Cooke, Fevereiro 26, 2025.

  1. Damien Cooke

    Damien Cooke Guest

    I noticed a p-dropdown in PrimeNG 17.18.x when set in the disabled state ignores this state and can be focused and an item selected. In version 14.x it works fine. Can anyone shed some light on this for me please?

    <p-dropdown placeholder=" " [formControl]="dropdownControl" [options]="options"
    [disabled]="!isEditable" optionLabel="label" optionValue="value" optionDisabled="inactive"
    [dropdownIcon]="'none'"
    [appendTo]="appendTo" (onChange)="onChange.emit($event)"></p-dropdown>

    Continue reading...

Compartilhe esta Página