p-listbox readonly attribute no longer works. #14794
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
p-listbox readonly attribute no longer works. disabled does work.
Environment
Using Angular forms, Angular 17, but the reproducer below also shows it.
Reproducer
https://stackblitz.com/edit/i8xazh-5smgfx?file=src%2Fapp%2Fdemo%2Flistbox-readonly-demo.ts,src%2Findex.html,src%2Fapp%2Fdemo%2Flistbox-readonly-demo.html
Angular version
17.1.3
PrimeNG version
17.6.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.0
Browser(s)
Chrome
Steps to reproduce the behavior
Please run the Stackblitz - the listbox is not readonly even when [readonly]="true".
Expected behavior
The listbox should be scrollable but not editable.
The text was updated successfully, but these errors were encountered: