I totally missed the scenario of HxSwitch that is built upon the logic of HxCheckbox. I have adjusted the logic as follows:
Created a separate property for a CSS class named AdditionalFormElementCssClass which is always applied and allows HxSwitch to apply it's form-switch class.
Adjusted the structure of the private properties and logic of when and where the form-check CSS class is applied.
Resolves: #742
I totally missed the scenario of HxSwitch that is built upon the logic of HxCheckbox. I have adjusted the logic as follows:
Should contain breaking changes only on the protected API.