cancel
Showing results for 
Search instead for 
Did you mean: 

Forms designer and dynamic dropdown options

maudrid
Champ on-the-rise
Champ on-the-rise
Hi There.
What is the best way to load options into a dropdown for a form that I created?

In render-form.js I found this piece of code:

// Pre-process any previous values, if needed
//$scope.preProcessFields

if (((field.type == 'dropdown' || field.type == 'radio-buttons') && field.optionType == 'rest' && (field.restUrl || field.endpoint))) {
                        $scope.invokeRestUrl(field);


This seems to suggest that it is possible to fill it using a rest api call.
I don't see a place to specify these field values in the editor.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The rest dropdown population is something we have in our enterprise product (the v6 UI is based upon the same core).
So that's something you'd have to add yourself if you want that in the v6 UI right now.