-
Notifications
You must be signed in to change notification settings - Fork 4k
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
transfer控件不使用nzSelectChange的时候checkbox没有正常联动 #996
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
可能是逻辑上处理有问题,我不太确定,我会核实一下,可能不是 Angular 的问题。 |
的确非常奇怪,我可以排除逻辑上的问题;暂时先跟踪 Angular #21780。 |
可以考虑 nz-transfer 暂时先不使用 OnPush 做兼容处理 |
其实好奇的是若指定 |
我猜是因为 |
@deart1mer is right |
@cipchk please check if this bug was fixed in version 0.7.0 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Version
0.6.13
Environment
Mac / Chrome 63
Reproduction link
https://stackblitz.com/edit/angular-xhkjof?file=app%2Fnz-demo-transfer-basic.component.ts
Steps to reproduce
选择所有 target 列表的 checkbox,target 的全选没有选中,取消掉一个之后,全选选中了
What is expected?
checkbox 正常联动
What is actually happening?
选择所有 target 列表的 checkbox,target 的全选没有选中,取消掉一个之后,全选选中了
Other?
这像是 Angular Form 模块 的一个 bug,在父组件使用 onPush 策略之后,自定义表单控件的子组件 writeValue 已经获取到最新的值,但是没有进行脏检查。
angular/angular#21780
The text was updated successfully, but these errors were encountered: