Closed merijntiebie closed 3 months ago
With respect to the Dutch language related issue. I cannot reproduce the behavior you are seeing. Can you please provide a step-by-step scenario to reproduce your findings?
With respect to the issues you report in Mendix 10. I cannot reproduce the behavior you are seeing, except for the widget icon. For the other issues, can you provide a step-by-step scenario to reproduce your findings?
As a side note: there is a scenario where the root object is not shown in the center of the screen for the OrgChart. This is the case when all its descendants are collapsed (so the root is the only node to show). This is unrelated to the Dutch language or Mendix 10.
With respect to the Dutch language issue:
It seems there's an issue where in the widget code, for some equations, the display value of booleans such as showChildren is used instead of its 'value'.
With respect to the Mx 10 issues:
The logging issue I described earlier does not seem to be related to the usage of the widget.
I indeed also found the issue where the root object is not properly centered in the screen. This also seems to occur when the root object has only 1 descendant.
For your initial issue, two things:
For your second issue: I tried to reproduce it again, but do not get this issue.
Thanks for looking into it again! With respect to the language issue, I took a look at your code and it seems there are a couple of places where you check for the display value of a boolean instead of the actual value. Changing this in the js files of the widget into 'value === true' solved the issue for me.
In both Mendix 9.24.3 and 10.6.1: When running the demo implementation with a user with Dutch as the user language, the following things happen in the organigram:
In Mendix 10: