Topic: Treeview checkbox bug
Expected behavior
Expecting checkbox treeview work like it does on the demo page.
https://ng-demo.mdbootstrap.com/components/treeview
Actual behavior
The top-level checkbox (Root1) does not activate/disable grandchild checkbox (Folderv2.0 under FolderV1.0). Also the child node does not have the checkbox.
Resources (screenshots, code snippets etc.)
Code taken from advanced example at https://mdbootstrap.com/docs/angular/components/treeview/

raichshlv
pro priority vip early access answered a year ago
Found the problem: Your code example has a typo ("cheched" instead of "checked")(see highlighted in screenshot)

Konrad Stępień staff commented a year ago
Hi,
Thank you for the founded bug!
We will fix this in the near future.
Best regards.
raichshlv
pro priority vip early access answered a year ago
I would also like to suggest setting parent nodes to indeterminate if some of the child nodes are checked and unchecked.
Semih Tereci
answered 3 weeks ago
I wanna create a treeview with checkboxes for mdb react. How can i do that? Can you help me, please?
Answered
- User: Free
- Premium support: No
- Technology: Angular
- MDB Version: 8.8.1
- Device: PC
- Browser: Chrome, Firefox
- OS: Ubuntu
- Provided sample code: No
- Provided link: Yes