Closed iandroogmans closed 7 years ago
Hmm... that's interesting. Nothing jumps out at me but I also see we don't currently have any tests for overriding this option. I'll take a look but if you were interested in submitting a PR with a failing test (and/or a fix) that would help fast track things :).
Thank you for the fast reply. I will try to set up a test case a.s.a.p.
@iandroogmans any luck reproducing this on your end? I had a chance to take quick look but the test I threw together seems to be passing:
https://github.com/iVantage/angular-ivh-treeview/commit/0531a2ee97fa64a48ee57d94b6d928de9e834226
@jtrussell Haven't had the chance to do this. I'll add it to my agenda for this weekend.
Kind regards
Feel free to re-open if this is still an issue :).
While wanting to change the children-attribute for a specific tree, i noticed my getChildren().length was always zero.
With previous config, i received following (example) output
When i updated the option in the ivhTreeviewOptionsProvider it worked perfectly and getChildren().length was also 3.
Things i've tried: