2

Is it possible to render a meta type field as a choice field?

For example, I'd like editors to choose an option from a list of available items. There is no control like this, but I seem to be able to do this with a Data Reference type, but I don't know where I need to add the values?

JadedEric
  • 1,943
  • 2
  • 26
  • 49

1 Answers1

3

Use the Selector widget.

  • When editing your field, go to the "advanced" tab.
  • Click on the button to change the widget type, which currently contains "TextBox".
  • Delete the TextBox widget.
  • Add a new widget, the Composite.Widgets.Selector.
  • Specify a function to return the options.
Sjoerd
  • 74,049
  • 16
  • 131
  • 175