We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stackblitz 无法加载 next 版本,无法提供
部分模板代码:
<nz-mention #mentions [nzSuggestions]="data"> <input *ngIf="a === 'input'" nzMentionTrigger nz-input [(ngModel)]="value"/> <textarea *ngIf="a === 'textarea'" nzMentionTrigger nz-input [(ngModel)]="value"></textarea> </nz-mention>
应该是 trigger 设置了 { static: true } 倒置,根据 angular.io 建议应该使用 { static: false } 可以更好的处理需要 *ngIf 或 *ngFor 的问题。
trigger
{ static: true }
{ static: false }
*ngIf
*ngFor
The text was updated successfully, but these errors were encountered:
fix(module:mention): fix cannot to switch trigger
66514c2
close NG-ZORRO#3629
fix(module:mention): fix cannot to switch trigger (#3632)
c8b5b09
* fix(module:mention): fix cannot to switch trigger close #3629 * test(module:mention): add test * docs(module:mention): fix API
fix(module:mention): fix cannot to switch trigger (NG-ZORRO#3632)
f54fec3
* fix(module:mention): fix cannot to switch trigger close NG-ZORRO#3629 * test(module:mention): add test * docs(module:mention): fix API
84a5207
hsuanxyz
Successfully merging a pull request may close this issue.
重现步骤
部分模板代码:
应该是
trigger
设置了{ static: true }
倒置,根据 angular.io 建议应该使用{ static: false }
可以更好的处理需要*ngIf
或*ngFor
的问题。The text was updated successfully, but these errors were encountered: