I need something like a filter on checkboxes #options in my form built via Form API. Is there a way to group checkboxes or add a class to filter them via js front side?
In the documentation options are simply 'value' => 'label'. Can I filter or group them?