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

Autocomplete: Delete selection in multiple mode cause "Cannot read properties of undefined (reading 'nativeElement')" #14064

Closed
lufo88ita opened this issue Nov 8, 2023 · 0 comments · Fixed by #14110
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@lufo88ita
Copy link

lufo88ita commented Nov 8, 2023

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

@lufo88ita lufo88ita added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 8, 2023
@cetincakiroglu cetincakiroglu 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 Nov 14, 2023
@cetincakiroglu cetincakiroglu added this to the 16.8.0 milestone Nov 14, 2023
cetincakiroglu added a commit that referenced this issue Nov 14, 2023
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.

3 participants