-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete #16907
Comments
You are probably referring to this in the source code: primeng/src/app/components/autocomplete/autocomplete.ts Lines 253 to 258 in 4cff23c
I can't tell you why you're getting this error, but you could try using the new control flow syntax from angular. This is the version that uses the new control flow syntax: primeng/packages/primeng/src/autocomplete/autocomplete.ts Lines 267 to 273 in a173984
emptyTemplate to empty )
I Hope that this helps :) |
Hi, Thanks a lot for testing the beta and reporting the issue. Issue is fixed in 1cff1d8 |
Autocomplete wont compile.
Hello, I have been trying to implement the autocomplete component with the source code provided but it wont compile because next line :
<ng-container *ngIf="!emptyTemplate; else empty"> {{ searchResultMessageText }} </ng-container> <ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
Here, empty is undefined. What I am doing wrong? Thanks.
Environment
Development.
Reproducer
No response
Angular version
18.2.3
PrimeNG version
18.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.18.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: