P-autocomplete after second click doesn't show dropdown #15281
Labels
LTS-16-PORTABLE
LTS-FIXED-16.9.15
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
v18-port
Milestone
Describe the bug
Hi, everyone! In angular 16 in primeng ^16.0.0-rc.2 autocomplete worked but with last version angular and primeng, I got critical bug. When I opened dropdown first time api loaded, list showed, but in second time, dropdown doesn't show list and api loaded. List only showed, when you must be click to dropdown so very fast and catch cancelled api request. Can you help me with current bug, please. It's my code https://stackblitz.com/edit/ja1m96?file=package.json.
Current problem you can solve using Subject or subscribe, but create subscribes is a bad solution for current problem.
About subjects you must write more code.
Environment
https://stackblitz.com/edit/ja1m96?file=package.json
Reproducer
No response
Angular version
17.3.4
PrimeNG version
17.13.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.1.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: