Skip to content

It is possible to populate dropdown using same object key used in groups? #70

@sdillinger

Description

@sdillinger

If I provide a string (key) to the groups option - for example, 'division' in the hockey example, the query result sorts and groups by the values it finds.

I want to also filter by those same values using the dropdown. But I can't find a way to associate the two. In the example the dropdown values are 'hard coded' via an array.

Is it possible to associate groups and dropdown so that the dropdown values are the same values from groups?

If not I'd like to suggest it as a new feature as it would be uber-useful for situations where the group values are not known in advance, but are found via a key lookup (as works in groups).

Perhaps it would be a straight-forward hack as you already have the values in context if the user provided a key to the groups option.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions