Voxel Spring Sale is now Live →

Post relation field UX: show selected items

  • Posted 2 months ago

Hi Voxel Support,

Details:

Use case: selecting speakers/employees/participants from a large directory (2,000+ posts).

Current behavior:

Dropdown initially loads only the first page of options (e.g., 10).

Selected items that are not within the first page are not rendered in the dropdown, so they don’t appear with checkmarks.

The field display shows only one name + “+N”, so you can’t see which specific posts are selected.

To unselect a previously selected item, you must search for it by name, which is impractical for large selections.

Expected behavior (any of these would solve it):

When the search box is empty, always render the currently selected items at the top of the dropdown (with checkmarks), in addition to the normal first-page results; OR

Add a dedicated “Selected” panel/list inside the dropdown; OR

Provide a setting like “Always include selected items in results” so the first page includes all selected IDs; OR

Allow switching the UI to a tag/chip list of selected items with easy removal.

Questions:

Is there a built-in option/setting for Post relation fields to “include selected items” in the dropdown when options are paginated?

If not, is there a recommended approach/hook to customize the relation field query/response to always include selected IDs?

Thanks!