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
Listing nz-autocomplete elements does not work if we use the new control-flow from Angular (i.e. @for syntax) and group options using nz-auto-optgroup tag. The old syntax works without problems (i.e. *ngFor)
What is expected?
New sytax will work.
What is actually happening?
New syntax dont work.
Environment
Info
ng-zorro-antd
17.1.0
Browser
Chrome 121.0.6167.185
The text was updated successfully, but these errors were encountered:
@Nicoss54 after long investigation, it turned out that angularCompilerOptions -> preserveWhitespaces: true option in tsconfig.json is responsible for that. I was unable to reproduce that in stackblitz. There is an reported issue in angular repo for that: angular/angular#54077
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-w1gcxk?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
Listing nz-autocomplete elements does not work if we use the new control-flow from Angular (i.e. @for syntax) and group options using nz-auto-optgroup tag. The old syntax works without problems (i.e. *ngFor)
What is expected?
New sytax will work.
What is actually happening?
New syntax dont work.
The text was updated successfully, but these errors were encountered: