primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.48k stars 4.6k forks source link

AutoComplete: Lazy not called #12753

Open ProfEibe opened 1 year ago

ProfEibe commented 1 year ago

Describe the bug

When using Lazy, the onLazyLoad callback is never called

Environment

Angular and PrimeNG 15

Reproducer

No response

Angular version

15.2

PrimeNG version

15.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.17.0

Browser(s)

latest Chrome

Steps to reproduce the behavior

No response

Expected behavior

when typing letters in the input field, onLazyLoad should be called to load a subpart of the whole result.

wildgarden commented 1 year ago

I can confirm this. When browsing the code https://github.com/primefaces/primeng/blob/master/src/app/components/autocomplete/autocomplete.ts the implementation seems incomplete.