[Received by email and posted here for more general information]
If I create a schema document with a list attribute, I cannot instantiate an object according to that schema document.
Steps to reproduce:
- Create new “data product”.
- Create document with name “Element” and no properties.
- Create document with name “List” and one property. This property should be a “link” type, with “links to type” element and the “list” specifier.
- Add some Elements in the document explorer.
- Attempt to create a List in the document explorer.
Error:
Cannot actually add Elements to the list. There is a box that says “Search for Element …”. When I click into that box, I get a dropdown with only one item, that also says: “Search for Element …”. No items show up for me to select. Typing does nothing. Just the faulty dropdown. When I click submit, I (understandably) get an “.Elements[0] should be string”.
Note:
I can add Elements to Sets just fine - this only happens with List.