Autocomplete: multiple and readonly still show button to remove options #15188
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Similar to #9513, it is again the case that an autocomplete with multiple and readonly enabled still shows buttons to remove one entry and if you click that button the entry is deleted.
Environment
Primeng 17.12.0
Reproducer
https://stackblitz.com/edit/github-hqyfeh?file=src%2Fapp%2Fapp.component.html
Angular version
17.3.1
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
Chrome
Steps to reproduce the behavior
The entry is deleted even though the autocomplete is readonly.
Expected behavior
When multiple and readonly are enabled, there should be a way to block the removal of items from the list without disabling the field.
The text was updated successfully, but these errors were encountered: