Passing list to a custom widget

0
Hello all,  I’ve build a custom widget that it’s input needs to be a list. For testing purpose I’ve selected the UserRole by xpath,  but when examining the props that passed to my component I don’t see any attributes available except the id.    Here is my xml: Here is what passed as props:   Fixed:   To use the values attribute need to be added into the xml,  for example:   property key="RoleName" type="attribute" required="true" dataSource="data"> <caption>Time Attribute</caption> <description /> <attributeTypes> <attributeType name="String"/> </attributeTypes> </property>   And to get the values of the attributes, you need to use the client api’s.    for example, const myItems = data.items.map(item=>{ return RoleName.get(item).value; })  
asked
0 answers