Skip to content

No need to add disabled class to disabled radio button. #437

@lcreid

Description

@lcreid

We add the disabled class to disabled radio buttons, but not check boxes. This shows that it doesn't seem to be needed. Having disabled="disabled" in the input is enough for Bootstrap 4 to format things correctly.

Removing the class would make the HTML more consistent across control types, and would make the code to implement the controls slightly less complex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions