I have to tables with a one-to-many relationship. Lets call them countries and citizens. In the backend I can filter the citizens by country:
# ===================================
# Filter Scope Definitions
# ===================================
scopes:
country:
label: Country
modelClass: Acme\Blog\Models\Country
conditions: country_id in (:filtered)
nameFrom: name
Now I only want to select one country at a time. With this group filter, I always have to deselect the previously selected country, then select the one I want and press Apply.
Is there a way to get a simple DropDown with all the countries in it, where I can just click on a country and my citizen-list is filtered to that country?