Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radio buttons template outdated #7

Open
Quayle57 opened this issue Apr 28, 2017 · 2 comments
Open

radio buttons template outdated #7

Quayle57 opened this issue Apr 28, 2017 · 2 comments

Comments

@Quayle57
Copy link

Hello,

I tried this project with some radio buttons and the template need some changes:

  • form-group does not work with radio button, they need form-check
  • the label should have the class form-check-label, for now they have none

I pasted the example from the bootstrap doc to explain better:

<fieldset class="form-group row">
  <legend class="col-form-legend col-sm-2">Radios</legend>
    <div class="col-sm-10">
      <div class="form-check">
        <label class="form-check-label">
          <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
            Option one is this and that&mdash;be sure to include why it's great
        </label>
      </div>
      <div class="form-check">
        <label class="form-check-label">
          <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
            Option two can be something else and selecting it will deselect option one
        </label>
      </div>
      <div class="form-check disabled">
        <label class="form-check-label">
          <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
            Option three is disabled
        </label>
      </div>
    </div>
</fieldset>
@GabrielUlici
Copy link
Owner

Will check and give you update when it is fixed.

@jobelenus
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants