Populate dynamic dropdowns

In order to populate dropdowns during setup, the Dev Dashboard will ask for a URL where it can fetch an array of options. These options are arrays of objects with a label and value. The label will be what is displayed, while the value will be saved in the installation config.

1276

Here's an example of the options array

app.post('/options', (req, res) => {
  res.send([
    { label: 'Foo', value: 1 },
    { label: 'Bar', value: 2 },
  ]);
});