Skip to content

Normalize Custom Checkbox and Radio with Form Check #23449

@pat270

Description

@pat270

What do you think about normalizing the markup in custom checkboxes and radios to match form-check (#23444) ? Something like:

<div class="custom-radio">
    <label class="custom-control">
        <input class="custom-control-input" type="radio">
        <span class="custom-control-indicator"></span>
        <span class="custom-control-description"></span>
    </label>
</div>

have it stacked by default and have helper classes to inline them? I think it makes sense to keep the pattern consistent for both. It would also prevent label.custom-control from expanding the full width of the container with .custom-controls-stacked (https://getbootstrap.com/docs/4.0/components/forms/#stacked).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions