LPS-51307 for checkbox inputs, keep class "form-group" instead of changing it to "checkbox". This way the "aui:validator required" works properly.