Open max06 opened 3 months ago
I have the same query but related to InputMenu component. I added a reproduction.
The docs say that search-attributes
can be used with dot.notaton
to access nested attributes, but it's not clear that it is only for the search-attributes
until you try it out yourself. I would really like to be able to use it also for option-attribute
and value-attribute
to avoid unnecessary flattening when we have big nested objects.
Is this supported, or planned? Thanks :sunny:
This issue is stale because it has been open for 30 days with no activity.
This issue is not stale.
This issue is stale because it has been open for 30 days with no activity.
Nope, it's not...
Description
Hello there - sorry for the title, no idea how to phrase that....
There are multiple ui components taking an array of objects as input. In this case I want to talk about the SelectMenu.
This works great with flat objects. For unknown reason, I'm unable to specify a nested property (like
metadata.name
).For these cases I have to create a computed, flat version of my original input array. Since I'm basically exclusively working with kubernetes manifests as input objects, I have to add a lot of wrappers for those.
I'm fine with that; however, I at least wanted to ask. 😅
Additional context
For reproduction, one of those objects, simplified: