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
Make a component with an input. Use a button with an icon. Use interpolation in the view to display some text before the icon. It does not work.
It works when theres is no binding/interpolation in the HTML
What is expected?
The order of the HTML should be respected
What is actually happening?
The order is not respected. The icon comes before the text
It might because of the moveIcon method in nz-button-component.ts. I am taking a look
Environment
Info
ng-zorro-antd
7.0.2
Browser
Chrome latest
The text was updated successfully, but these errors were encountered:
Reproduction link
https://ng-zorro-antd-start-vjhban.stackblitz.io
Steps to reproduce
Make a component with an input. Use a button with an icon. Use interpolation in the view to display some text before the icon. It does not work.
It works when theres is no binding/interpolation in the HTML
What is expected?
The order of the HTML should be respected
What is actually happening?
The order is not respected. The icon comes before the text
It might because of the
moveIcon
method innz-button-component.ts
. I am taking a lookThe text was updated successfully, but these errors were encountered: