Autocomplete: Showing empty overlay when has no suggestions and showEmptyMessage is false #15344
Labels
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When the autocomplete's suggestions is empty and the prop
showEmptyMessage
is set to false the dropdown overlay is still showing, but blank, like the image:I solve this overriding the method
handleSuggestionsChange
from thisto this
I don't know if this is an expected behavior but seems like an error to me.
Environment
I'm using angular v16 with primeNG v16.
Reproducer
https://stackblitz.com/edit/stackblitz-starters-zbpeqq?file=src%2Fapp.component.ts
Angular version
16.2.12
PrimeNG version
16.9.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.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: