The TreeNode's with 'Checked' parameter will auto checked when clicking its parent's title
pankey888 opened this issue · comments
pankey888 commented
The code is:
<Tree TItem="string" Checkable CheckStrictly>
<TreeNode Title="parent 1" Key="0-0" TItem="string">
<TreeNode Title="leaf" Key="0-0-0-1" Checked TItem="string"></TreeNode>
</TreeNode>
</Tree>
The result is:
Steps to reproduce (please include code)
Exceptions (if any)
Further technical details
- AntDesign Nuget Package version
- Include the output of
dotnet --info
- The IDE (VS / VS Code/ VS4Mac) you're running on, and it's version
Olegs Bugrovs commented
I found a solution for myself, also used recently TreeNode checkable and the only good way to work with it is to bind checked keys array. I would like to see bindable Checked feature
pankey888 commented
I found a solution for myself, also used recently TreeNode checkable and the only good way to work with it is to bind checked keys array. I would like to see bindable Checked feature
Thank you, I have fixed the bug. I'm documenting this bug only to explain in the code's comments why it needs to be fixed.