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
https://angular-il82cm.stackblitz.io
Add a string to nzFooter property of a simple NzModalComponent.
Judging from the API the modal's nzFooter property accepts a string among other types. So i would expect it to render the passed string.
When you pass a string in the nzFooter property it renders the nzTitle property.
I did some digging in the modal source code. I found this
<div *ngIf="!buttonsFooter" [innerHTML]="config.nzTitle"></div>
line in
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/modal/modal-footer.component.ts
line 22.
Is this how it suppose to work?
The text was updated successfully, but these errors were encountered:
fix(module:modal): fix incorrect assignment of 'nzFooter' (#6468)
85ea273
close #6467
hsuanxyz
Successfully merging a pull request may close this issue.
Reproduction link
https://angular-il82cm.stackblitz.io
Steps to reproduce
Add a string to nzFooter property of a simple NzModalComponent.
What is expected?
Judging from the API the modal's nzFooter property accepts a string among other types. So i would expect it to render the passed string.
What is actually happening?
When you pass a string in the nzFooter property it renders the nzTitle property.
I did some digging in the modal source code. I found this
line in
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/modal/modal-footer.component.ts
line 22.
Is this how it suppose to work?
The text was updated successfully, but these errors were encountered: