I faced this issue quite some times with the OctoberCMS Backend List Filters:
I have several values which can be selected in a filter (for ex some categories), but I only want the user to select one value at a time, not several as it would be with this config:
category: type: group modelClass: Mch\Wiki\Models\Category label: 'mch.wiki::lang.terms.category' conditions: category_id in (:filtered)
Cause when I selected “Category 1” within this filter and wanna switch, I’ve to open the filter (click 1), deselect Category 1 (Click 2), select Category 2 (Click 3) and click “Apply” (Click 4).
It would be a lot easier, if there would be an additional option like “select_max: X” which limits the amount of items to select in a filter and if it’s set to 1, you can only switch between categories and you dont have to do all the clicking from above.
Ofc it would also be enough if it’s not “select_max: X” but just “only_select_one_entry: true”.
Let me know if I missed an option which allows doing this, but I didnt find any…