I created a field on OptionFormField called optionsExpression which resolves an expression to either a List or it’s json equivalent.
So basically one can set a variable and use it to populate the list of options for the drop down field.
What is not resolved in the commit yet:
- modeler updates for radio buttons
- being able to select a runtime default value. Since default is not attributed directly to an Option, it needs an additional expression.
- whether to allow fall back to statically defined list or just consider them mutually exclusive which means runtime exception
- translations are from google translate, not sure how this is normally done
But I would like to know I am on a track that will be supported for a pull request.