[Form] Unable to access Java Enum values from Java Facade in Form Designer Dropdown control
Describe the bug
I have a Facade with a method that returns a list of Java Enum types. This gets serialized out of the api.ts file as a simple list of values:
[VALUE1,VALUE2,VALUE3]. The Form Designer Dropdown control expects these to be objects that have some kind of name and/or value, like this:
[
{
"name": "VALUE1",
"value": "Value 1"
},
{
"name": "VALUE2",
"value": "Value 2"
},
{
"name": "VALUE3",
"value": "Value 3"
}
]
There's no way to tell the Form to use just the raw enum value as both the name and value for the Dropdown
To Reproduce Steps to reproduce the behavior:
- Create a Dropdown controller.
- Map it to a Feed that returns a list of Java Enums
Expected behavior It should be possible to use the list of values as both the "name" and "value" elements for the list.
Screenshots N/A
Desktop (please complete the following information):
- OS: Linux
- Browser: Edge
- Version: Version 123.0.2420.97 (Official build) (64-bit)
Smartphone (please complete the following information): N/A
Additional context Add any other context about the problem here.