Skip to content

Disabled radio button labels do not have the disabled class #156

@scottswezey

Description

@scottswezey

As per the current Bootstrap docs, disabled radio and checkboxes should also have the disabled class added to their surrounding label tag, so the labels will appear to be disabled instead of clickable.
See: http://getbootstrap.com/css/#forms-controls

What is generated now:
<div class="radio"><label for="settings_pricing_method_1"><input type="radio" value="1" name="settings[pricing_method]" id="settings_pricing_method_1" disabled="disabled"> Use OEM Pricing (where available)</label></div>

What should be generated:
(The only change is in the very first div tag)
<div class="radio disabled">...</div>

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