OG provides the "OG reference" widget for fields of the entity reference widget type. It has two parts (for normal users and admins) and settings to configure which UI element to use for each part: select list, autocomplete etc.. However, the process to make these settings is a bit of a mess currently:

  1. Set "Widget: OG reference" on your entity reference field.
  2. Edit the field and set "Entity selection: Mode: Organic Groups".
  3. Save the field edit form.
  4. Edit the field again and find the settings for the widget types of the two parts.

There is no hint that would make one expect this process, and it's also not intuitive that the selection handler should influence what widget settings are available. I am not sure about the best solution to improve the situation since I don't know all the technicalities, but from a UX point, alternatives would include:

  • Removing the need for two parts in the OG reference widget, which also removes the need to provide the "OG reference" widget option at all (select list, autocomplete etc. are already there and work for groups).
  • If two parts are needed in the widget, folding the settings for them into multiple alternatives to be selected under "Widget type" for the field.
  • Moving the settings into the AJAX-loaded form with settings that appears when selecting "Entity selection: Mode: Organic Groups. However, like now, that leaves the UI element choice undefined when selecting a different value for "Entity selection: Mode".

Comments

tanius created an issue.