gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

Tree 'checkboxChange' triggered twice when check parent/children nodes

Open waoywssy opened this issue 7 years ago • 1 comments

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.

waoywssy avatar Aug 06 '18 13:08 waoywssy

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 !

Jhfelectric avatar Dec 11 '19 02:12 Jhfelectric