Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
cvrebert edited this page Oct 2, 2014 · 2 revisions

E011

.input-group and .form-group cannot be used directly on the same element. Instead, nest the .input-group within the .form-group

Wrong:

<div class="form-group input-group">
  <div class="input-group-addon">@</div>
  <input class="form-control" type="email" placeholder="Enter nickname">
</div>

Right:

<div class="form-group">
  <div class="input-group">
    <div class="input-group-addon">@</div>
    <input class="form-control" type="email" placeholder="Enter nickname">
  </div>
</div>
Clone this wiki locally