Autocomplete: Delete selection in multiple mode cause "Cannot read properties of undefined (reading 'nativeElement')" #14064
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
As the title said, if you delete a selection in multimple mode it print the error "Cannot read properties of undefined (reading 'nativeElement')"
This bug does not exist in primeng 16.6.0
Environment
OS: Windows 10
Reproducer
https://stackblitz.com/edit/n5tqgt
Angular version
16.2
PrimeNG version
16.7.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.20.2
Browser(s)
Chrome 119.0.6045.107
Steps to reproduce the behavior
Open the stackblitz example
Add some selection in the autocomplete
Delete one
Expected behavior
No error in console
The text was updated successfully, but these errors were encountered: