Autocomplete with multiple and readonly enabled still show button to remove options #9513
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/primeng-autocomplete-readonly-bug
Current behavior
Autocomplete with multiple and readonly enabled still shows buttons to remove selection.
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.
Minimal reproduction of the problem with instructions
Add some values to a multiple selection p-autocomplete field, then set readonly to true.
What is the motivation / use case for changing the behavior?
There is the possibility of wanting to use the field only to show selected options, but still make it editable under certain conditions.
The text was updated successfully, but these errors were encountered: