我有一个包含对象的列表,我想让选择包含完整的对象。属性选择不起作用
我该怎么做呢?
...
records:bind="$myWindow.ObjectList"
selection={{
type: KeySelection,
keyFields: ["Name","MyId","otherprops"], <--here i would need all my object properties. but i cannot list a hundret and they may change
bind: "$linkWindow.selectedObject"
}}
...谢谢
发布于 2018-04-26 18:56:33
选择应基于id字段。当您需要访问记录时,您应该在数组中找到它。或者,您可以创建一个computable,如下例所示:
https://stackoverflow.com/questions/50040917
复制相似问题