gijgo
gijgo copied to clipboard
Tree 'checkboxChange' triggered twice when check parent/children nodes
As the title described, I'm trying to take advantage of the 'checkboxChange' event, but it will triggered twice when I try to click a tree node which is the only child of its parent node. Obviously, one for the child and the other for the parent node.
Is this a bug or there's another way to do that? I just need an event that will only triggered once. How can I do that?
Thanks.
Just in case someone else is looking for a solution, @waoywssy's pull request contains an improved js code and it works just fine ! Thx @waoywssy !