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
  • #20608
Closed
Open
Issue created Sep 01, 2016 by Administrator@rootContributor

Docs are contradictory for radio/checkbox classes

Created by: TheSharpieOne

Slightly different from #20578 (closed) which is specific to inline and stacking, this ticket hopes to address the .form-check vs .radio and .checkbox classes.

The checkboxes and radios example uses the .form-check class exclusively while the validation example uses .radio and .checkbox exclusively. It is also worth noting that the validation styles for the label depend on the use of .radio and .checkbox

EDIT: Also affects disabled styles. The docs show both ways. Using .radio, as shown in the form controls example, does not make the label gray when disabled. Using .form-check does make the label gray when it is disabled` as seen in the using the grid example

.radio.disabled label radio-disabled .form-check.disabled .form-check-label form-check-disabled

Assignee
Assign to
Time tracking