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
Click nodes parent 1-0, leaf 1-0-0, and leaf 1-0-1.
Click to remove node leaf 1-0-0.
Nodes parent 1-0 and leaf 1-0-0 are both removed from the list.
What is expected?
Only leaf 1-0-0 should be removed from the list
What is actually happening?
Nodes parent 1-0 and leaf 1-0-0 are both removed from the list.
Environment
Info
ng-zorro-antd
9.0.0
Browser
Chrome 80.0.3987.163
If I understand the documentation correctly, nzCheckable should simply add checkboxes to the TreeSelect and nzCheckStrictly should remove any associations between parent nodes and child nodes but using these two together doesn't seem to work correctly.
The text was updated successfully, but these errors were encountered:
Reproduction link
https://stackblitz.com/edit/angular-ogz5wh?file=src/app/app.component.ts
Steps to reproduce
parent 1-0
,leaf 1-0-0
, andleaf 1-0-1
.leaf 1-0-0
.Only node
leaf 1-0-0
is removed from the list.Update the template code to what's below which adds
nzCheckable
.parent 1-0
,leaf 1-0-0
, andleaf 1-0-1
.leaf 1-0-0
.Nodes
parent 1-0
andleaf 1-0-0
are both removed from the list.What is expected?
Only
leaf 1-0-0
should be removed from the listWhat is actually happening?
Nodes
parent 1-0
andleaf 1-0-0
are both removed from the list.If I understand the documentation correctly,
nzCheckable
should simply add checkboxes to theTreeSelect
andnzCheckStrictly
should remove any associations between parent nodes and child nodes but using these two together doesn't seem to work correctly.The text was updated successfully, but these errors were encountered: