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 this
to this
I don't know if this is an expected behavior but seems like an error to me.
I have a similar issue. I am trying to get an emptyMessage and have group enabled, filter enabled but the default empty is not showing up or the template
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 this to thisI 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