Skip to content
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

NzInputGroup projected content disappears when toggling value of [nzAddOnBefore] #3596

Closed
CygnusRoboticus opened this issue Jun 18, 2019 · 0 comments
Assignees

Comments

@CygnusRoboticus
Copy link
Contributor

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-7487mz

Steps to reproduce

Bind to [nzAddOnBefore] and toggle it's value between a renderable value and a falsy value.

What is expected?

The [nzAddOnBefore] content should disappear and the projected content inside of the <nz-input-group> should still display.

What is actually happening?

The projected content disappears and the <nz-input-group> is empty.

Environment Info
ng-zorro-antd 7.5.1
Browser Chrome 74.0.3729.169 64-bit

I didn't check other properties (e.g. [nzAddOnAfter]), but it's possible they behave similarly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants