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

在NzModal的confirm实例中,modal.nzCancelDisabled失效 #3679

Closed
tazyong opened this issue Jun 29, 2019 · 2 comments
Closed

在NzModal的confirm实例中,modal.nzCancelDisabled失效 #3679

tazyong opened this issue Jun 29, 2019 · 2 comments

Comments

@tazyong
Copy link

tazyong commented Jun 29, 2019

Reproduction link

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

Steps to reproduce

在confirm类型下必然重现,其它类型匀正常

What is expected?

当点击模态框“删除按钮”以后,“取消按钮”不可用

What is actually happening?

点击模态框“删除按钮”以后,“取消按钮”仍然可以正常使用

Environment Info
ng-zorro-antd 7.5.1
Browser Google Chrome 72.0.3626.81
@zorro-bot
Copy link

zorro-bot bot commented Jun 29, 2019

Translation of this issue:

In NzModal's confirm instance, modal.nzCaneclDisabled is invalid

Reproduction link

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

Steps to reproduce

In the type of confirm, it must be reproduced, and other types are normal.

What is expected?

When you click the modal box "Delete button", the "Cancel button" is not available

What is actually happening?

After clicking the modal box "Delete button", the "Cancel button" can still be used normally.

Environment Info
ng-zorro-antd 7.5.1
Browser Google Chrome 72.0.3626.81

@tazyong tazyong changed the title 在NzModal的confirm实例中,modal.nzCaneclDisabled失效 在NzModal的confirm实例中,modal.nzCancelDisabled失效 Jun 29, 2019
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Jul 2, 2019
@cp1001
Copy link

cp1001 commented Jul 10, 2019

nzCancelLoading可以禁用cancel按钮,不过会有loading态。nzCancelDisabled确实是个bug,没能禁用按钮

lppedd pushed a commit to lppedd/ng-zorro-antd that referenced this issue Jul 15, 2019
…#3707)

* fix(module:modal): buttons cannot disable when confirm mode

close NG-ZORRO#3679

* fix: fix build
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
…#3707)

* fix(module:modal): buttons cannot disable when confirm mode

close NG-ZORRO#3679

* fix: fix build
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
…#3707)

* fix(module:modal): buttons cannot disable when confirm mode

close NG-ZORRO#3679

* fix: fix build
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