You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The primeng p-autocomplete component ignores the minLength when clicking the dropdown icon. The completeMethod event is fired anyway.
In the documentation is written for the MinLength: Minimum number of characters to initiate a search.
On clicking the Dropdown-Icon when the min length is not reached the completeMethod event is fired and the search will run anyway.
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?
Thanks a lot for your understanding!
Best Regards,
Describe the bug
The primeng p-autocomplete component ignores the minLength when clicking the dropdown icon. The completeMethod event is fired anyway.
In the documentation is written for the MinLength: Minimum number of characters to initiate a search.
On clicking the Dropdown-Icon when the min length is not reached the completeMethod event is fired and the search will run anyway.
Environment
Angular
Reproducer
No response
Angular version
17.1.1
PrimeNG version
17.5.0
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
18
Browser(s)
Firefox & Chrome
Steps to reproduce the behavior
Expected behavior
The search-event is not fired, because the min Length is not reached
The text was updated successfully, but these errors were encountered: