Feature request: UI organisation-unit-tree missing code #322
Replies: 2 comments 1 reply
-
|
@Mohammer5 knows more about this component. And I think similar requests have come up in the past for other components as well. I'm not sure what the long term vision is on these kinds of additions across the lib, @varl? |
Beta Was this translation helpful? Give feedback.
-
|
Current status: the tree callback still does not include the organisation unit A reliable application-level solution is to use the callback's const query = {
orgUnit: {
resource: 'organisationUnits',
id: ({ id }) => id,
params: { fields: ['id', 'code', 'displayName', 'path'] },
},
}Then execute that query with the Adding |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
According to the organisation-unit-tree UI docs,
onChangeis called with the following object{ id: string, displayName: string, path: string, checked: boolean, selected: string[] }. Is it possible to add the organization unit'scodeto the object? Thecodeis a piece of important information and it will be very useful to be able to retrieve it when the user changes the organization. Should I create a Jira issue for this?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions