Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p-listbox readonly attribute no longer works. #14794

Closed
Peter2090 opened this issue Feb 13, 2024 · 0 comments · Fixed by #14802
Closed

p-listbox readonly attribute no longer works. #14794

Peter2090 opened this issue Feb 13, 2024 · 0 comments · Fixed by #14802
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Peter2090
Copy link

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.

@Peter2090 Peter2090 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 13, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this Feb 14, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 14, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.7.0 milestone Feb 14, 2024
cetincakiroglu added a commit that referenced this issue Feb 14, 2024
Fixed #14794 - Listbox | readonly attribute no longer works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants