I have a group of check boxes that allow you to select flags on a search screen. It turns out that if I allow the user to clear all, it is certain that there will be no result. That being said, I wish it would not be allowed to uncheck all checkboxes that have a specific CSS class.
Solution alternatives to the problem of selecting at least one option from a set are welcome. Maybe, instead of preventing the user, make a validation so that the user realizes that unchecking all the check is not allowed ...
How to do it? And what's best to do in terms of usability?