Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #21280
Closed
Open
Issue created Dec 02, 2016 by Administrator@rootContributor

Form control feedback not working with stacked custom controls

Created by: omnibrain

When using form control feedback with stacked custom controls, the form feedback will just float on the right of the first custom control element.

In fact every block element following the div with the .custom-controls-stacked class will just float right of the first radio button or checkbox label, so also if you have a <p> element after the stacked radios, it will be completely misplaced (see screenshot below).

Code snippet on Codepen

Screenshot:

image

Code:

<div class="m-3 form-group has-success">
  
  <div class="custom-controls-stacked">
    <label class="custom-control custom-radio">
      <input id="radioStacked1" name="radio-stacked" type="radio" class="custom-control-input">
      <span class="custom-control-indicator"></span>
      <span class="custom-control-description">I'm a radio button label</span>
    </label>
    <label class="custom-control custom-radio">
      <input id="radioStacked2" name="radio-stacked" type="radio" class="custom-control-input">
      <span class="custom-control-indicator"></span>
      <span class="custom-control-description">I'm another label</span>
    </label>
  </div>
  
   <p>I'm a paragraph below the stacked radio inputs</p>
</div>
Assignee
Assign to
Time tracking