lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton
MIT License
130 stars 50 forks source link

Turn "Last Active" checkbox filter to radio filter #388

Closed dgvirtual closed 1 year ago

dgvirtual commented 1 year ago

Using checkboxes in filter where you can check multiple items but only one is used is confusing. I have turned the Last Active filter to radio type filter, where you can only select one option. Also, as once selected a radio cannot be unchecked, I added "show all" preselected option, an option to select users that have logged in at any time and an option to select users that have never logged in.

This also adds a general functionality to use radio type filter widget in custom modules and corresponding documentation updates.