Add the disabled boolean attribute to the and the custom indicator and label description will be automatically styled. Asking for help, clarification, or responding to other answers. A switch has the markup of a custom checkbox but uses the .form-switch class to render a toggle switch. We add a new checkbox with the class select-all and listen to the change event of that checkbox. elements as opposed to an within a